共用方式為


IParsable<TSelf> 介面

定義

定義了一種解析字串至值的機制。

generic <typename TSelf>
 where TSelf : IParsable<TSelf>public interface class IParsable
public interface IParsable<TSelf> where TSelf : IParsable<TSelf>
type IParsable<'Self (requires 'Self :> IParsable<'Self>)> = interface
Public Interface IParsable(Of TSelf)

類型參數

TSelf

是實作此介面的類型。

衍生

方法

名稱 Description
Parse(String, IFormatProvider)

解析字串成一個值。

TryParse(String, IFormatProvider, TSelf)

嘗試將字串解析成一個值。

適用於