다음을 통해 공유


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)

Syntax

'Declaration
Property IsConstant As Boolean
bool IsConstant { get; set; }
property bool IsConstant {
    bool get ();
    void set (bool value);
}
abstract IsConstant : bool with get, set
function get IsConstant () : boolean 
function set IsConstant (value : boolean)

Property Value

Type: System.Boolean
true if the item is a constant; otherwise, false.

Remarks

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

.NET Framework Security

See Also

Reference

VCCodeVariable Interface

Microsoft.VisualStudio.VCCodeModel Namespace

Other Resources

How to: Compile and Run the Automation Object Model Code Examples