AttributeInfo.CreateAttribute 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立一個屬性 為 ,建立一個屬性 AttributeInfo為 。
public:
Attribute ^ CreateAttribute();
public Attribute CreateAttribute();
member this.CreateAttribute : unit -> Attribute
Public Function CreateAttribute () As Attribute
傳回
屬性為 AttributeInfo類型 。
例外狀況
Creatable 是 false。