IParsable<TSelf> 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
定义用于将字符串分析为值的机制。
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
 
实现此接口的类型。
- 派生
 
方法
| Parse(String, IFormatProvider) | 
		 将字符串分析为值。  | 
        	
| TryParse(String, IFormatProvider, TSelf) | 
		 尝试将字符串解析为值。  |