Share via


ProblemDetails.Extensions Property

Definition

Gets the IDictionary<TKey,TValue> for extension members.

Problem type definitions MAY extend the problem details object with additional members. Extension members appear in the same namespace as other members of a problem type.

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)

Property Value

Attributes
Newtonsoft.Json.JsonExtensionDataAttribute JsonExtensionDataAttribute

Remarks

The round-tripping behavior for Extensions is determined by the implementation of the Input \ Output formatters. In particular, complex types or collection types may not round-trip to the original type when using the built-in JSON or XML formatters.

Applies to