Share via


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

Definition

Tries to get the value as the fourth specified type.

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

Parameters

value
T4

the value in the specified type/>

Returns

true if the type matches

Applies to