ElementTypeDescriptionProvider.CreateTypeDescriptor Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
| CreateTypeDescriptor(ICustomTypeDescriptor, ModelElement) |
Переопределяются в производном классе для предоставления настраиваемого дескриптора типа. |
| CreateTypeDescriptor(ICustomTypeDescriptor, Type) |
Переопределяются в производном классе для предоставления настраиваемого дескриптора типа. |
CreateTypeDescriptor(ICustomTypeDescriptor, ModelElement)
Переопределяются в производном классе для предоставления настраиваемого дескриптора типа.
protected:
virtual Microsoft::VisualStudio::Modeling::Design::ElementTypeDescriptor ^ CreateTypeDescriptor(System::ComponentModel::ICustomTypeDescriptor ^ parent, Microsoft::VisualStudio::Modeling::ModelElement ^ element);
protected virtual Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor CreateTypeDescriptor (System.ComponentModel.ICustomTypeDescriptor parent, Microsoft.VisualStudio.Modeling.ModelElement element);
abstract member CreateTypeDescriptor : System.ComponentModel.ICustomTypeDescriptor * Microsoft.VisualStudio.Modeling.ModelElement -> Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor
override this.CreateTypeDescriptor : System.ComponentModel.ICustomTypeDescriptor * Microsoft.VisualStudio.Modeling.ModelElement -> Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor
Protected Overridable Function CreateTypeDescriptor (parent As ICustomTypeDescriptor, element As ModelElement) As ElementTypeDescriptor
Параметры
- parent
- ICustomTypeDescriptor
Дескриптор родительского настраиваемого типа.
- element
- ModelElement
Описываемый элемент.
Возвращаемое значение
Применяется к
CreateTypeDescriptor(ICustomTypeDescriptor, Type)
Переопределяются в производном классе для предоставления настраиваемого дескриптора типа.
protected:
virtual Microsoft::VisualStudio::Modeling::Design::ElementTypeDescriptor ^ CreateTypeDescriptor(System::ComponentModel::ICustomTypeDescriptor ^ parent, Type ^ modelElementType);
protected virtual Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor CreateTypeDescriptor (System.ComponentModel.ICustomTypeDescriptor parent, Type modelElementType);
abstract member CreateTypeDescriptor : System.ComponentModel.ICustomTypeDescriptor * Type -> Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor
override this.CreateTypeDescriptor : System.ComponentModel.ICustomTypeDescriptor * Type -> Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor
Protected Overridable Function CreateTypeDescriptor (parent As ICustomTypeDescriptor, modelElementType As Type) As ElementTypeDescriptor
Параметры
- parent
- ICustomTypeDescriptor
Дескриптор родительского настраиваемого типа.
- modelElementType
- Type
Описываемый тип элемента.