แก้ไข

แชร์ผ่าน


JsonTypeInfo.ConstructorAttributeProvider Property

Definition

Gets or sets an attribute provider corresponding to the deserialization constructor.

public:
 property System::Reflection::ICustomAttributeProvider ^ ConstructorAttributeProvider { System::Reflection::ICustomAttributeProvider ^ get(); };
public System.Reflection.ICustomAttributeProvider? ConstructorAttributeProvider { get; }
member this.ConstructorAttributeProvider : System.Reflection.ICustomAttributeProvider
Public ReadOnly Property ConstructorAttributeProvider As ICustomAttributeProvider

Property Value

Exceptions

The JsonPropertyInfo instance has been locked for further modification.

Remarks

When resolving metadata via the built-in resolvers this will be populated with

the underlying ConstructorInfo of the serialized property or field.

Applies to