共用方式為


VCCodeEnum.DerivedTypes 屬性

取得從這個物件衍生的物件集合。

命名空間:  Microsoft.VisualStudio.VCCodeModel
組件:  Microsoft.VisualStudio.VCCodeModel (在 Microsoft.VisualStudio.VCCodeModel.dll 中)

語法

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

屬性值

型別:EnvDTE.CodeElements
CodeElements 集合。

備註

DerivedTypes 會傳回衍生自這個型別的 CodeElements 集合型別。 DerivedTypes 只會傳回在單一專案內由此型別所衍生的型別,而不會跨越其他專案或程式語言。 如果程式碼項目是 EnvDTE.vsCMElement.vsCMElementInterface,那麼傳回的集合也包括實作該介面的 CodeClass 物件。

.NET Framework 安全性

請參閱

參考

VCCodeEnum 介面

Microsoft.VisualStudio.VCCodeModel 命名空間

其他資源

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