共用方式為


Conversion.IsEnumeration Property

Definition

Returns true if the conversion is an implicit enumeration conversion or explicit enumeration conversion.

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

Property Value

Remarks

Implicit and explicit enumeration conversions are described in sections 6.1.3 and 6.2.2 of the C# language specification.

Applies to