CustomProviderDataAttribute.CustomProviderData 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得一串自訂資料給設定檔屬性提供者。
public:
property System::String ^ CustomProviderData { System::String ^ get(); };
public string CustomProviderData { get; }
member this.CustomProviderData : string
Public ReadOnly Property CustomProviderData As String
屬性值
一串自訂資料,用於設定檔屬性提供者。 預設值為 null。
備註
CustomProviderData屬性值是利用customProviderData設定元素的屬性<add>設定,以新增設定檔屬性。
CustomProviderData屬性可以設定為設定檔提供者用於該屬性的任意字串值。 如果 customProviderData 屬性被設定,該值會被 Attributes 放入該屬性的集合中,並以名稱「CustomProviderData」進行索引。