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 命名空间