获取该属性绑定到的模型元素的类型。
命名空间: Microsoft.VisualStudio.Modeling.Design
程序集: Microsoft.VisualStudio.Modeling.Sdk.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.12.0.dll 中)
语法
声明
Public Overrides ReadOnly Property ComponentType As Type
public override Type ComponentType { get; }
属性值
类型:System.Type
该属性绑定到的模型元素的类型。
备注
如果 owner 参数在构造函数中指定了此属性描述符,则 owner 的 GetType 方法提供类型。 否则,使用此说明符 ModelElement 属性的类型。 如果此说明符不受某个模型元素,则 ModelElement 返回的类型。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。