Megosztás a következőn keresztül:


ILocalSymbol.HasConstantValue Property

Definition

Returns false if the local variable wasn't declared as "const", or constant value was omitted or erroneous. True otherwise.

public:
 property bool HasConstantValue { bool get(); };
public bool HasConstantValue { get; }
member this.HasConstantValue : bool
Public ReadOnly Property HasConstantValue As Boolean

Property Value

Applies to