ISchemaHierarchyPopulator.GetContainingTypes 方法
傳回型別的清單,這個填入者可以傳回這些型別做為子系。
命名空間: Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer
組件: Microsoft.VisualStudio.Data.Schema.Package (在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
語法
'宣告
Function GetContainingTypes As IList(Of Type)
IList<Type> GetContainingTypes()
IList<Type^>^ GetContainingTypes()
abstract GetContainingTypes : unit -> IList<Type>
function GetContainingTypes() : IList<Type>
傳回值
型別:System.Collections.Generic.IList<Type>
型別的清單,這個填入者建立子系時會使用這些型別。
備註
如果模型有這些類型的執行個體,您可以使用這個方法來決定何種型別會在此節點之下顯示。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer 命名空間