Lingua

ArgumentResultExtensions.GetValueOrDefault Metodo

Definizione

Overload

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

Parametri

argumentResult
ArgumentResult

Valori restituiti

Si applica a

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

Parametri di tipo

T

Parametri

argumentResult
ArgumentResult

Valori restituiti

T

Si applica a