PresentationElementTypeDescriptionProvider.CreatePresentationElementTypeDescriptor Method

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'宣言
Protected Overridable Function CreatePresentationElementTypeDescriptor ( _
    parent As ICustomTypeDescriptor, _
    presentationElement As PresentationElement, _
    selectedElement As ModelElement _
) As PresentationElementTypeDescriptor
'使用
Dim parent As ICustomTypeDescriptor
Dim presentationElement As PresentationElement
Dim selectedElement As ModelElement
Dim returnValue As PresentationElementTypeDescriptor

returnValue = Me.CreatePresentationElementTypeDescriptor(parent, _
    presentationElement, selectedElement)
protected virtual PresentationElementTypeDescriptor CreatePresentationElementTypeDescriptor(
    ICustomTypeDescriptor parent,
    PresentationElement presentationElement,
    ModelElement selectedElement
)
protected:
virtual PresentationElementTypeDescriptor^ CreatePresentationElementTypeDescriptor(
    ICustomTypeDescriptor^ parent, 
    PresentationElement^ presentationElement, 
    ModelElement^ selectedElement
)
protected function CreatePresentationElementTypeDescriptor(
    parent : ICustomTypeDescriptor, 
    presentationElement : PresentationElement, 
    selectedElement : ModelElement
) : PresentationElementTypeDescriptor

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.PresentationElementTypeDescriptor

Permissions

See Also

Reference

PresentationElementTypeDescriptionProvider Class

PresentationElementTypeDescriptionProvider Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace