Поделиться через


ElementTypeDescriptionProvider.CreateTypeDescriptor - метод (ICustomTypeDescriptor, ModelElement)

Создает настраиваемый дескриптор типа.

Пространство имен:  Microsoft.VisualStudio.Modeling.Design
Сборка:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (в Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Синтаксис

'Декларация
Protected Overridable Function CreateTypeDescriptor ( _
    parent As ICustomTypeDescriptor, _
    element As ModelElement _
) As ElementTypeDescriptor
protected virtual ElementTypeDescriptor CreateTypeDescriptor(
    ICustomTypeDescriptor parent,
    ModelElement element
)

Параметры

Возвращаемое значение

Тип: Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor
Новый настраиваемый дескриптор типа.

Исключения

Исключение Условие
ArgumentException

Параметр element имеет значение nullссылка NULL (Nothing в Visual Basic).

Безопасность платформы .NET Framework

См. также

Ссылки

ElementTypeDescriptionProvider Класс

CreateTypeDescriptor - перегрузка

Microsoft.VisualStudio.Modeling.Design - пространство имен