次の方法で共有


PresentationElementTypeDescriptionProvider.CreatePresentationElementTypeDescriptor Method

Create a new PresentationElementTypeDescriptor for the property grid to render the properties. Class derives from PresentationElementTypeDescriptionProvider can override this method to provide his/her own type descriptor.

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

Syntax

'宣言
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
)
protected:
virtual PresentationElementTypeDescriptor^ CreatePresentationElementTypeDescriptor(
    ICustomTypeDescriptor^ parent, 
    PresentationElement^ presentationElement, 
    ModelElement^ selectedElement
)
abstract CreatePresentationElementTypeDescriptor : 
        parent:ICustomTypeDescriptor * 
        presentationElement:PresentationElement * 
        selectedElement:ModelElement -> PresentationElementTypeDescriptor 
override CreatePresentationElementTypeDescriptor : 
        parent:ICustomTypeDescriptor * 
        presentationElement:PresentationElement * 
        selectedElement:ModelElement -> PresentationElementTypeDescriptor 
protected function CreatePresentationElementTypeDescriptor(
    parent : ICustomTypeDescriptor, 
    presentationElement : PresentationElement, 
    selectedElement : ModelElement
) : PresentationElementTypeDescriptor

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.PresentationElementTypeDescriptor

.NET Framework Security

See Also

Reference

PresentationElementTypeDescriptionProvider Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace