VCCodeFunction.IsConstant Property
Gets or sets a value indicating whether or not the item is a constant.
Namespace: Microsoft.VisualStudio.VCCodeModel
Assembly: Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)
声明
Property IsConstant As Boolean
用法
Dim instance As VCCodeFunction
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)
Type: System.Boolean
true if the item is a constant, false otherwise.
IsConstant returns whether the storage location represented by this code variable is settable.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
How to: Compile and Run the Automation Object Model Code Examples