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.

C++
protected:
 virtual System::ComponentModel::ICustomTypeDescriptor ^ CreateCustomTypeDescriptor(System::ComponentModel::ICustomTypeDescriptor ^ parent, Microsoft::VisualStudio::Modeling::ModelElement ^ element);

Parameters

parent
ICustomTypeDescriptor

Parent custom type descriptor.

element
ModelElement

Element to be described.

Returns

Applies to

Visual Studio SDK 2022 a ďalšie verzie
Produkt Verzie
Visual Studio SDK 2017, 2019, 2022

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.

C++
protected:
 virtual System::ComponentModel::ICustomTypeDescriptor ^ CreateCustomTypeDescriptor(System::ComponentModel::ICustomTypeDescriptor ^ parent, Type ^ modelElementType);

Parameters

parent
ICustomTypeDescriptor

Parent custom type descriptor.

modelElementType
Type

Type of element to be described.

Returns

Applies to

Visual Studio SDK 2022 a ďalšie verzie
Produkt Verzie
Visual Studio SDK 2017, 2019, 2022