Export (0) Print
Expand All
Expand Minimize

IsConstant Property (General Extensibility)

Visual Studio .NET 2003

Indicates whether or not the item is a constant.

[Visual Basic .NET]
Public Property IsConstant() As Boolean
[Visual Basic 6]
Property Get IsConstant() As Boolean
Property Let IsConstant( _
   ByVal NewValue As Boolean _
HRESULT __stdcall get_IsConstant(
   /* [out, retval] */ VARIANT_BOOL* retVal
HRESULT __stdcall put_IsConstant(
   /* [in] */ VARIANT_BOOL NewValue
bool IsConstant {get; set;}
[JScript .NET]
public function get IsConstant() : Boolean
public function set IsConstant(
   NewValue : Boolean


Indicates whether the item is a constant: True if so, False otherwise.

Return Value

True if the item is a constant; False otherwise.


IsConstant returns whether the storage location represented by this code variable is settable.

Note   This property is read-only for code elements from Visual Basic .NET source code.

See Also

Applies To: CodeVariable Object | VCCodeFunction Object | VCCodeVariable Object

© 2014 Microsoft