VCCodeVariable::IsConstant Property

 

Sets or gets whether the item is a constant.

Namespace:   Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)

property bool IsConstant {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if the item is a constant; otherwise, false.

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

Return to top
Show: