CommandResultExtensions.GetValueOrDefault メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| Name | 説明 |
|---|---|
| GetValueOrDefault(CommandResult) |
古い.
|
| GetValueOrDefault<T>(CommandResult) |
古い.
|
GetValueOrDefault(CommandResult)
注意事項
Use GetArgumentValueOrDefault instead. This method will be removed in a future version.
public:
[System::Runtime::CompilerServices::Extension]
static System::Object ^ GetValueOrDefault(System::CommandLine::CommandResult ^ commandResult);
[System.Obsolete("Use GetArgumentValueOrDefault instead. This method will be removed in a future version.")]
public static object GetValueOrDefault(this System.CommandLine.CommandResult commandResult);
[<System.Obsolete("Use GetArgumentValueOrDefault instead. This method will be removed in a future version.")>]
static member GetValueOrDefault : System.CommandLine.CommandResult -> obj
<Extension()>
Public Function GetValueOrDefault (commandResult As CommandResult) As Object
パラメーター
- commandResult
- CommandResult
返品
- 属性
適用対象
GetValueOrDefault<T>(CommandResult)
注意事項
Use GetArgumentValueOrDefault instead. This method will be removed in a future version.
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static T GetValueOrDefault(System::CommandLine::CommandResult ^ commandResult);
[System.Obsolete("Use GetArgumentValueOrDefault instead. This method will be removed in a future version.")]
public static T GetValueOrDefault<T>(this System.CommandLine.CommandResult commandResult);
[<System.Obsolete("Use GetArgumentValueOrDefault instead. This method will be removed in a future version.")>]
static member GetValueOrDefault : System.CommandLine.CommandResult -> 'T
<Extension()>
Public Function GetValueOrDefault(Of T) (commandResult As CommandResult) As T
型パラメーター
- T
パラメーター
- commandResult
- CommandResult
返品
T
- 属性