Udostępnij za pośrednictwem


Metoda ElementTypeDescriptionProvider.CreateCustomTypeDescriptor — (ICustomTypeDescriptor, Type)

Overridables w klasie pochodnej zapewnienie ICustomTypeDescriptor (która nie musi być ElementTypeDescriptor).Implementacji podstawowej po prostu wywołuje CreateTypeDescriptor(), aby utworzyć ElementTypeDescriptor.

Przestrzeń nazw:  Microsoft.VisualStudio.Modeling.Design
Zestaw:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (w Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Składnia

'Deklaracja
Protected Overridable Function CreateCustomTypeDescriptor ( _
    parent As ICustomTypeDescriptor, _
    modelElementType As Type _
) As ICustomTypeDescriptor
protected virtual ICustomTypeDescriptor CreateCustomTypeDescriptor(
    ICustomTypeDescriptor parent,
    Type modelElementType
)

Parametry

  • modelElementType
    Typ: System.Type
    Typ elementu, należy opisać.

Wartość zwracana

Typ: System.ComponentModel.ICustomTypeDescriptor

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

ElementTypeDescriptionProvider Klasa

Przeciążenie CreateCustomTypeDescriptor

Przestrzeń nazw Microsoft.VisualStudio.Modeling.Design