JsonTypeInfo.ConstructorAttributeProvider Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.