ProblemDetails.Extensions Propriété

Définition

Obtient les membres de l’extension IDictionary<TKey,TValue> .

Les définitions de type de problème PEUVENT étendre l’objet détails du problème avec des membres supplémentaires. Les membres d’extension apparaissent dans le même espace de noms que d’autres membres d’un type de problème.

public:
 property System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ Extensions { System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ get(); };
[Newtonsoft.Json.JsonExtensionData]
public System.Collections.Generic.IDictionary<string,object> Extensions { get; }
[System.Text.Json.Serialization.JsonExtensionData]
public System.Collections.Generic.IDictionary<string,object> Extensions { get; }
[System.Text.Json.Serialization.JsonExtensionData]
public System.Collections.Generic.IDictionary<string,object?> Extensions { get; }
[<Newtonsoft.Json.JsonExtensionData>]
member this.Extensions : System.Collections.Generic.IDictionary<string, obj>
[<System.Text.Json.Serialization.JsonExtensionData>]
member this.Extensions : System.Collections.Generic.IDictionary<string, obj>
Public ReadOnly Property Extensions As IDictionary(Of String, Object)

Valeur de propriété

IDictionary<String,Object>
Attributs
Newtonsoft.Json.JsonExtensionDataAttribute JsonExtensionDataAttribute

Remarques

Le comportement d’aller-retour pour Extensions est déterminé par l’implémentation des formateurs d’entrée \ sortie. En particulier, les types complexes ou les types de collection ne peuvent pas aller-retour au type d’origine lors de l’utilisation des formateurs JSON ou XML intégrés.

S’applique à