INumberParser 介面

定義

剖析數值之字串表示的介面。

public interface class INumberParser
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3865416722, 18963, 19027, 131, 161, 57, 47, 190, 76, 255, 159)]
struct INumberParser
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3865416722, 18963, 19027, 131, 161, 57, 47, 190, 76, 255, 159)]
public interface INumberParser
Public Interface INumberParser
衍生
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

方法

ParseDouble(String)

嘗試剖析 Double 數值的字串表示。

ParseInt(String)

嘗試剖析整數數值的字串表示。

ParseUInt(String)

嘗試剖析不帶正負號整數數值的字串表示。

適用於