PresentationElementTypeDescriptionProvider.CreateTypeDescriptor Method (ICustomTypeDescriptor, ModelElement)
Provides a custom type descriptor for a PresentationElement.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
‘선언
Protected Overrides NotOverridable Function CreateTypeDescriptor ( _
parent As ICustomTypeDescriptor, _
element As ModelElement _
) As ElementTypeDescriptor
protected override sealed ElementTypeDescriptor CreateTypeDescriptor(
ICustomTypeDescriptor parent,
ModelElement element
)
protected:
virtual ElementTypeDescriptor^ CreateTypeDescriptor(
ICustomTypeDescriptor^ parent,
ModelElement^ element
) override sealed
abstract CreateTypeDescriptor :
parent:ICustomTypeDescriptor *
element:ModelElement -> ElementTypeDescriptor
override CreateTypeDescriptor :
parent:ICustomTypeDescriptor *
element:ModelElement -> ElementTypeDescriptor
protected override final function CreateTypeDescriptor(
parent : ICustomTypeDescriptor,
element : ModelElement
) : ElementTypeDescriptor
Parameters
- parent
Type: System.ComponentModel.ICustomTypeDescriptor
- element
Type: Microsoft.VisualStudio.Modeling.ModelElement
Return Value
Type: Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.