ProblemDetails.Extensions Propriété

Définition

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

Valeur de propriété

Attributs
Newtonsoft.Json.JsonExtensionDataAttribute JsonExtensionDataAttribute

Remarques

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

S’applique à