OptionalProperty.ToDictionary Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| Nom | 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)
Paramètres de type
- TKey
- TValue
Paramètres
- optional
- OptionalProperty<IDictionary<TKey,TValue>>
Retours
S’applique à
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)
Paramètres de type
- TKey
- TValue
Paramètres
- optional
- OptionalProperty<IReadOnlyDictionary<TKey,TValue>>