Condividi tramite


ElementTypeDescriptionProvider.CreateTypeDescriptor Method (ICustomTypeDescriptor, Type)

Overridables for the derived class to provide a custom type descriptor.

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

Syntax

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

Parameters

  • modelElementType
    Type: System.Type
    Type of element to be described.

Return Value

Type: Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor

.NET Framework Security

See Also

Reference

ElementTypeDescriptionProvider Class

CreateTypeDescriptor Overload

Microsoft.VisualStudio.Modeling.Design Namespace