SumType<T1,T2>.TryGetSecond(T2) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
尝试获取值作为第二个指定类型。
public:
bool TryGetSecond([Runtime::InteropServices::Out] T2 % value);
public bool TryGetSecond (out T2 value);
member this.TryGetSecond : 'T2 -> bool
Public Function TryGetSecond (ByRef value As T2) As Boolean
参数
- value
- T2
指定类型中的值/>
返回
true
如果类型匹配