SumType<T1,T2,T3,T4>.TryGetFourth(T4) 方法

定义

尝试获取值作为第四个指定类型。

public:
 bool TryGetFourth([Runtime::InteropServices::Out] T4 % value);
public bool TryGetFourth (out T4 value);
member this.TryGetFourth : 'T4 -> bool
Public Function TryGetFourth (ByRef value As T4) As Boolean

参数

value
T4

指定类型中的值/>

返回

true 如果类型匹配

适用于