CommandResultExtensions.GetValueOrDefault Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
| Veri Akışı Adı | Description |
|---|---|
| GetValueOrDefault(CommandResult) |
Geçersiz.
|
| GetValueOrDefault<T>(CommandResult) |
Geçersiz.
|
GetValueOrDefault(CommandResult)
Dikkat
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
Parametreler
- commandResult
- CommandResult
Döndürülenler
- Öznitelikler
Şunlara uygulanır
GetValueOrDefault<T>(CommandResult)
Dikkat
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ür Parametreleri
- T
Parametreler
- commandResult
- CommandResult
Döndürülenler
- Öznitelikler