ElementPropertyDescriptor.ComponentType 属性

获取该属性绑定到的模型元素的类型。

命名空间:  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 安全性

请参阅

参考

ElementPropertyDescriptor 类

Microsoft.VisualStudio.Modeling.Design 命名空间

ElementTypeDescriptor

ModelElement