IFieldSymbol.HasConstantValue Property

Definition

Returns false if the field 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