Partager via


VCCodeVariable.IsConstant Property

Definition

Sets or gets whether the item is a constant.

public:
 property bool IsConstant { bool get(); void set(bool value); };
public:
 property bool IsConstant { bool get(); void set(bool value); };
[System.Runtime.InteropServices.DispId(37)]
public bool IsConstant { [System.Runtime.InteropServices.DispId(37)] get; [System.Runtime.InteropServices.DispId(37)] set; }
[<System.Runtime.InteropServices.DispId(37)>]
[<get: System.Runtime.InteropServices.DispId(37)>]
[<set: System.Runtime.InteropServices.DispId(37)>]
member this.IsConstant : bool with get, set
Public Property IsConstant As Boolean

Property Value

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

Attributes

Remarks

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

Applies to