OptionalProperty.ToDictionary Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Överlagringar
| Name | Description |
|---|---|
| ToDictionary<TKey,TValue>(OptionalProperty<IDictionary<TKey,TValue>>) | |
| ToDictionary<TKey,TValue>(OptionalProperty<IReadOnlyDictionary<TKey,TValue>>) |
ToDictionary<TKey,TValue>(OptionalProperty<IDictionary<TKey,TValue>>)
public:
generic <typename TKey, typename TValue>
static System::Collections::Generic::IDictionary<TKey, TValue> ^ ToDictionary(System::Net::ClientModel::Internal::OptionalProperty<System::Collections::Generic::IDictionary<TKey, TValue> ^> optional);
public static System.Collections.Generic.IDictionary<TKey,TValue> ToDictionary<TKey,TValue>(System.Net.ClientModel.Internal.OptionalProperty<System.Collections.Generic.IDictionary<TKey,TValue>> optional);
static member ToDictionary : System.Net.ClientModel.Internal.OptionalProperty<System.Collections.Generic.IDictionary<'Key, 'Value>> -> System.Collections.Generic.IDictionary<'Key, 'Value>
Public Shared Function ToDictionary(Of TKey, TValue) (optional As OptionalProperty(Of IDictionary(Of TKey, TValue))) As IDictionary(Of TKey, TValue)
Typparametrar
- TKey
- TValue
Parametrar
- optional
- OptionalProperty<IDictionary<TKey,TValue>>
Returer
Gäller för
ToDictionary<TKey,TValue>(OptionalProperty<IReadOnlyDictionary<TKey,TValue>>)
public:
generic <typename TKey, typename TValue>
static System::Collections::Generic::IReadOnlyDictionary<TKey, TValue> ^ ToDictionary(System::Net::ClientModel::Internal::OptionalProperty<System::Collections::Generic::IReadOnlyDictionary<TKey, TValue> ^> optional);
public static System.Collections.Generic.IReadOnlyDictionary<TKey,TValue> ToDictionary<TKey,TValue>(System.Net.ClientModel.Internal.OptionalProperty<System.Collections.Generic.IReadOnlyDictionary<TKey,TValue>> optional);
static member ToDictionary : System.Net.ClientModel.Internal.OptionalProperty<System.Collections.Generic.IReadOnlyDictionary<'Key, 'Value>> -> System.Collections.Generic.IReadOnlyDictionary<'Key, 'Value>
Public Shared Function ToDictionary(Of TKey, TValue) (optional As OptionalProperty(Of IReadOnlyDictionary(Of TKey, TValue))) As IReadOnlyDictionary(Of TKey, TValue)
Typparametrar
- TKey
- TValue
Parametrar
- optional
- OptionalProperty<IReadOnlyDictionary<TKey,TValue>>