ElementTypeDescriptor.GetDomainClassInfo 方法
返回所述元素的类型的字段类信息。
命名空间: Microsoft.VisualStudio.Modeling.Design
程序集: Microsoft.VisualStudio.Modeling.Sdk.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.11.0.dll 中)
语法
声明
Protected Function GetDomainClassInfo ( _
instance As ModelElement _
) As DomainClassInfo
protected DomainClassInfo GetDomainClassInfo(
ModelElement instance
)
参数
- instance
类型:Microsoft.VisualStudio.Modeling.ModelElement
返回值
类型:Microsoft.VisualStudio.Modeling.DomainClassInfo
备注
处理实例和基于类型的用例。 如果将所提供的元素为空,字段类信息在静态存储区中查找。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。