다음을 통해 공유


ElementTypeDescriptionProvider.CreateCustomTypeDescriptor Method

Definition

Overloads

CreateCustomTypeDescriptor(ICustomTypeDescriptor, ModelElement)

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.

CreateCustomTypeDescriptor(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.

CreateCustomTypeDescriptor(ICustomTypeDescriptor, ModelElement)

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.

protected:
 virtual System::ComponentModel::ICustomTypeDescriptor ^ CreateCustomTypeDescriptor(System::ComponentModel::ICustomTypeDescriptor ^ parent, Microsoft::VisualStudio::Modeling::ModelElement ^ element);
protected virtual System.ComponentModel.ICustomTypeDescriptor CreateCustomTypeDescriptor (System.ComponentModel.ICustomTypeDescriptor parent, Microsoft.VisualStudio.Modeling.ModelElement element);
abstract member CreateCustomTypeDescriptor : System.ComponentModel.ICustomTypeDescriptor * Microsoft.VisualStudio.Modeling.ModelElement -> System.ComponentModel.ICustomTypeDescriptor
override this.CreateCustomTypeDescriptor : System.ComponentModel.ICustomTypeDescriptor * Microsoft.VisualStudio.Modeling.ModelElement -> System.ComponentModel.ICustomTypeDescriptor
Protected Overridable Function CreateCustomTypeDescriptor (parent As ICustomTypeDescriptor, element As ModelElement) As ICustomTypeDescriptor

Parameters

parent
ICustomTypeDescriptor

Parent custom type descriptor.

element
ModelElement

Element to be described.

Returns

Applies to

CreateCustomTypeDescriptor(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.

protected:
 virtual System::ComponentModel::ICustomTypeDescriptor ^ CreateCustomTypeDescriptor(System::ComponentModel::ICustomTypeDescriptor ^ parent, Type ^ modelElementType);
protected virtual System.ComponentModel.ICustomTypeDescriptor CreateCustomTypeDescriptor (System.ComponentModel.ICustomTypeDescriptor parent, Type modelElementType);
abstract member CreateCustomTypeDescriptor : System.ComponentModel.ICustomTypeDescriptor * Type -> System.ComponentModel.ICustomTypeDescriptor
override this.CreateCustomTypeDescriptor : System.ComponentModel.ICustomTypeDescriptor * Type -> System.ComponentModel.ICustomTypeDescriptor
Protected Overridable Function CreateCustomTypeDescriptor (parent As ICustomTypeDescriptor, modelElementType As Type) As ICustomTypeDescriptor

Parameters

parent
ICustomTypeDescriptor

Parent custom type descriptor.

modelElementType
Type

Type of element to be described.

Returns

Applies to