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


ElementTypeDescriptor.CreateRolePlayerPropertyDescriptor - метод

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

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

Синтаксис

'Декларация
Protected Overridable Function CreateRolePlayerPropertyDescriptor ( _
    sourceRolePlayer As ModelElement, _
    targetRoleInfo As DomainRoleInfo, _
    sourceDomainRoleInfoAttributes As Attribute() _
) As RolePlayerPropertyDescriptor
protected virtual RolePlayerPropertyDescriptor CreateRolePlayerPropertyDescriptor(
    ModelElement sourceRolePlayer,
    DomainRoleInfo targetRoleInfo,
    Attribute[] sourceDomainRoleInfoAttributes
)

Параметры

  • sourceDomainRoleInfoAttributes
    Тип: array<System.Attribute[]
    Массив, содержащий атрибуты для применения к роли свойства источника.

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

Тип: Microsoft.VisualStudio.Modeling.Design.RolePlayerPropertyDescriptor
Дескриптор для роли свойства элемента модели.

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

См. также

Ссылки

ElementTypeDescriptor Класс

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