語言

JsonTypeInfo.ConstructorAttributeProvider 屬性

定義

取得或設定一個屬性提供者,對應於反序列化建構子。

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

屬性值

例外狀況

該 JsonPropertyInfo 實例已被鎖定,無法進一步修改。

備註

透過內建解析器解析元資料時,這些資料會被填入

序列化屬性或欄位的底層 ConstructorInfo 。

適用於