共用方式為


Conversion.IsNumeric Property

Definition

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

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

Property Value

Remarks

Implicit and explicit numeric conversions are described in sections 6.1.2 and 6.2.1 of the C# language specification.

Applies to