ArgumentResultExtensions.GetValueOrDefault Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
GetValueOrDefault(ArgumentResult)
public:
[System::Runtime::CompilerServices::Extension]
static System::Object ^ GetValueOrDefault(System::CommandLine::ArgumentResult ^ argumentResult);
public static object GetValueOrDefault(this System.CommandLine.ArgumentResult argumentResult);
static member GetValueOrDefault : System.CommandLine.ArgumentResult -> obj
<Extension()>
Public Function GetValueOrDefault (argumentResult As ArgumentResult) As Object
Parametry
- argumentResult
- ArgumentResult
Zwraca
Dotyczy
GetValueOrDefault<T>(ArgumentResult)
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static T GetValueOrDefault(System::CommandLine::ArgumentResult ^ argumentResult);
public static T GetValueOrDefault<T>(this System.CommandLine.ArgumentResult argumentResult);
static member GetValueOrDefault : System.CommandLine.ArgumentResult -> 'T
<Extension()>
Public Function GetValueOrDefault(Of T) (argumentResult As ArgumentResult) As T
Parametry typu
- T
Parametry
- argumentResult
- ArgumentResult