PresentationElementTypeDescriptionProvider.CreatePresentationElementTypeDescriptor 方法

为该属性网格创建新的 PresentationElementTypeDescriptor 以呈现该属性。 从 PresentationElementTypeDescriptionProvider 中获取的类可重写此方法以提供他/她自己的类型描述符。

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)

语法

声明
Protected Overridable Function CreatePresentationElementTypeDescriptor ( _
    parent As ICustomTypeDescriptor, _
    presentationElement As PresentationElement, _
    selectedElement As ModelElement _
) As PresentationElementTypeDescriptor
protected virtual PresentationElementTypeDescriptor CreatePresentationElementTypeDescriptor(
    ICustomTypeDescriptor parent,
    PresentationElement presentationElement,
    ModelElement selectedElement
)

参数

返回值

类型:Microsoft.VisualStudio.Modeling.Diagrams.PresentationElementTypeDescriptor

.NET Framework 安全性

请参阅

参考

PresentationElementTypeDescriptionProvider 类

Microsoft.VisualStudio.Modeling.Diagrams 命名空间