DslDefinitionModelElementTypeDescriptor.CreateRolePlayerPropertyDescriptor - метод
Метод для создания PropertyDescriptor, которое описывает отношение и роль, которая будет отображаться в сетке.
Пространство имен: Microsoft.VisualStudio.Modeling.DslDefinition.Design
Сборка: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (в Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
Синтаксис
'Декларация
Protected Overrides Function CreateRolePlayerPropertyDescriptor ( _
sourceRolePlayer As ModelElement, _
targetRoleInfo As DomainRoleInfo, _
sourceDomainRoleInfoAttributes As Attribute() _
) As RolePlayerPropertyDescriptor
protected override RolePlayerPropertyDescriptor CreateRolePlayerPropertyDescriptor(
ModelElement sourceRolePlayer,
DomainRoleInfo targetRoleInfo,
Attribute[] sourceDomainRoleInfoAttributes
)
Параметры
- sourceRolePlayer
Тип: Microsoft.VisualStudio.Modeling.ModelElement
ModelElement, исполняющий роль источника.
- targetRoleInfo
Тип: Microsoft.VisualStudio.Modeling.DomainRoleInfo
DomainRoleInfo, описывающий целевую роль.
- sourceDomainRoleInfoAttributes
Тип: array<System.Attribute[]
Атрибуты в источнике DomainRoleInfo
Возвращаемое значение
Тип: Microsoft.VisualStudio.Modeling.Design.RolePlayerPropertyDescriptor
RolePlayerPropertyDescriptor
Безопасность платформы .NET Framework
- Полное доверие для непосредственно вызывающего метода. Этот член не может быть использован частично доверенным кодом. Дополнительные сведения см. в разделе Использование библиотек из не вполне надежного кода.
См. также
Ссылки
DslDefinitionModelElementTypeDescriptor Класс
Microsoft.VisualStudio.Modeling.DslDefinition.Design - пространство имен