ProblemDetails.Extensions Właściwość

Definicja

Pobiera element IDictionary<TKey,TValue> dla elementów członkowskich rozszerzenia.

Definicje typów problemów MOGĄ rozszerzyć obiekt szczegółów problemu z dodatkowymi elementami członkowskimi. Elementy członkowskie rozszerzenia są wyświetlane w tej samej przestrzeni nazw co inni członkowie typu problemu.

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)

Wartość właściwości

Atrybuty
Newtonsoft.Json.JsonExtensionDataAttribute JsonExtensionDataAttribute

Uwagi

Zachowanie okrężne dla Extensions elementu jest określane przez implementację formaterów Input \ Output. W szczególności typy złożone lub typy kolekcji mogą nie być zaokrąglone do oryginalnego typu podczas korzystania z wbudowanych formatów JSON lub XML.

Dotyczy