共用方式為


Conversion.IsConstantExpression Property

Definition

Returns true if the conversion is an implicit constant expression conversion.

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

Property Value

Remarks

Implicit constant expression conversions are described in section 6.1.9 of the C# language specification.

Applies to