Bagikan melalui


ElementTypeDescriptionProvider.CreateCustomTypeDescriptor Method (ICustomTypeDescriptor, Type)

Overridables for the derived class to provide an ICustomTypeDescriptor (that doesn't need to be an ElementTypeDescriptor). Base implementation simply calls CreateTypeDescriptor() to create an ElementTypeDescriptor.

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

Syntax

'Declaration
Protected Overridable Function CreateCustomTypeDescriptor ( _
    parent As ICustomTypeDescriptor, _
    modelElementType As Type _
) As ICustomTypeDescriptor
protected virtual ICustomTypeDescriptor CreateCustomTypeDescriptor(
    ICustomTypeDescriptor parent,
    Type modelElementType
)
protected:
virtual ICustomTypeDescriptor^ CreateCustomTypeDescriptor(
    ICustomTypeDescriptor^ parent, 
    Type^ modelElementType
)
abstract CreateCustomTypeDescriptor : 
        parent:ICustomTypeDescriptor * 
        modelElementType:Type -> ICustomTypeDescriptor  
override CreateCustomTypeDescriptor : 
        parent:ICustomTypeDescriptor * 
        modelElementType:Type -> ICustomTypeDescriptor
protected function CreateCustomTypeDescriptor(
    parent : ICustomTypeDescriptor, 
    modelElementType : Type
) : ICustomTypeDescriptor

Parameters

  • parent
    Type: ICustomTypeDescriptor

    Parent custom type descriptor.

  • modelElementType
    Type: Type

    Type of element to be described.

Return Value

Type: ICustomTypeDescriptor

.NET Framework Security

See Also

Reference

ElementTypeDescriptionProvider Class

CreateCustomTypeDescriptor Overload

Microsoft.VisualStudio.Modeling.Design Namespace