ArgumentResultExtensions.GetValueOrDefault Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
| Nome | Descrizione |
|---|---|
| GetValueOrDefault(ArgumentResult) | |
| GetValueOrDefault<T>(ArgumentResult) |
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