Freigeben über


ElementTypeDescriptionProvider.CreateCustomTypeDescriptor-Methode (ICustomTypeDescriptor, Type)

Overridables, damit die abgeleitete Klasse einen ICustomTypeDescriptor bereitstellt (der kein ElementTypeDescriptor sein muss). Basisimplementierung ruft einfach CreateTypeDescriptor() auf, um ein ElementTypeDescriptor zu erstellen.

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

Syntax

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

Parameter

  • modelElementType
    Typ: System.Type
    Typ des zu beschreibenden Elements.

Rückgabewert

Typ: System.ComponentModel.ICustomTypeDescriptor

.NET Framework-Sicherheit

Siehe auch

Referenz

ElementTypeDescriptionProvider Klasse

CreateCustomTypeDescriptor-Überladung

Microsoft.VisualStudio.Modeling.Design-Namespace