Idioma

ArgumentResultExtensions.GetValueOrDefault Método

Definição

Sobrecargas

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

Parâmetros

argumentResult
ArgumentResult

Devoluções

Aplica-se 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

Parâmetros de Tipo Genérico

T

Parâmetros

argumentResult
ArgumentResult

Devoluções

T

Aplica-se a