Compartir a través de


SumType<T1,T2>.TryGetFirst(T1) Método

Definición

Intenta obtener el valor como el primer tipo especificado.

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

Parámetros

value
T1

el valor del tipo especificado/>

Devoluciones

true si el tipo coincide

Se aplica a