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

声明
Property IsConstant As Boolean
用法
Dim instance As VCCodeVariable
Dim value As Boolean

value = instance.IsConstant

instance.IsConstant = value
bool IsConstant { get; set; }
property bool IsConstant {
    bool get ();
    void set (bool value);
}
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.

Permissions

See Also

Concepts

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

Reference

VCCodeVariable Interface

VCCodeVariable Members

Microsoft.VisualStudio.VCCodeModel Namespace