Share via


CodeDelegate.Attributes 屬性

取得委派所有屬性 (Attribute) 的集合。

命名空間:  EnvDTE
組件:  EnvDTE (在 EnvDTE.dll 中)

語法

'宣告
ReadOnly Property Attributes As CodeElements
    Get
CodeElements Attributes { get; }
property CodeElements^ Attributes {
    CodeElements^ get ();
}
abstract Attributes : CodeElements
function get Attributes () : CodeElements

屬性值

型別:EnvDTE.CodeElements
CodeElements 集合。

備註

注意事項注意事項

在特定類型的編輯之後,程式碼模型項目 (例如類別、結構、函式、屬性、委派等) 的值可能不具決定性,表示其值不一定維持相同。 如需詳細資訊,請參閱使用程式碼模型探索程式碼 (Visual Basic) 的<程式碼模型項目值可以變更>一節。

.NET Framework 安全性

請參閱

參考

CodeDelegate 介面

EnvDTE 命名空間

其他資源

HOW TO:編譯和執行 Automation 物件模型程式碼範例

使用程式碼模型探索程式碼 (Visual Basic)

使用程式碼模型探索程式碼 (Visual C#)