JsonTypeInfo.ConstructorAttributeProvider 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個屬性提供者,對應於反序列化建構子。
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 。