SumType<T1,T2>.TryGetFirst(T1) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Tries to get the value as the first specified type.
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
Parameters
- value
- T1
the value in the specified type/>
Returns
true
if the type matches