Language

ArgumentResultExtensions.GetValueOrDefault メソッド

定義

オーバーロード

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

パラメーター

argumentResult
ArgumentResult

返品

適用対象

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

型パラメーター

T

パラメーター

argumentResult
ArgumentResult

返品

T

適用対象