Export (0) Print
Expand All
ID
Top
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 _
) 
[C++]
HRESULT __stdcall get_IsConstant(
   /* [out, retval] */ VARIANT_BOOL* retVal
);
HRESULT __stdcall put_IsConstant(
   /* [in] */ VARIANT_BOOL NewValue
);
[C#]
bool IsConstant {get; set;}
[JScript .NET]
public function get IsConstant() : Boolean
public function set IsConstant(
   NewValue : Boolean
)

Parameters

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

Return Value

True if the item is a constant; False otherwise.

Remarks

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

Show:
© 2014 Microsoft