SumType<T1,T2>.TryGetSecond(T2) 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 second specified type.
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
Parameters
- value
- T2
the value in the specified type/>
Returns
true
if the type matches