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 les 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(); };
[System.Text.Json.Serialization.JsonExtensionData]
public System.Collections.Generic.IDictionary<string,object?> Extensions { get; set; }
[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; }
[<System.Text.Json.Serialization.JsonExtensionData>]
member this.Extensions : System.Collections.Generic.IDictionary<string, obj> with get, set
[<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 Property Extensions As IDictionary(Of String, Object)
Public ReadOnly Property Extensions As IDictionary(Of String, Object)

Valeur de propriété

Attributs
JsonExtensionDataAttribute Newtonsoft.Json.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 peuvent ne pas aller-retour vers le type d’origine lors de l’utilisation des formateur JSON ou XML intégrés.

S’applique à