DslDefinitionModelElementTypeDescriptor.CreateRolePlayerPropertyDescriptor(ModelElement, DomainRoleInfo, Attribute[]) Метод

Определение

Метод для создания PropertyDescriptor, которое описывает отношение и роль, которая будет отображаться в сетке.

protected:
 override Microsoft::VisualStudio::Modeling::Design::RolePlayerPropertyDescriptor ^ CreateRolePlayerPropertyDescriptor(Microsoft::VisualStudio::Modeling::ModelElement ^ sourceRolePlayer, Microsoft::VisualStudio::Modeling::DomainRoleInfo ^ targetRoleInfo, cli::array <Attribute ^> ^ sourceDomainRoleInfoAttributes);
protected override Microsoft.VisualStudio.Modeling.Design.RolePlayerPropertyDescriptor CreateRolePlayerPropertyDescriptor (Microsoft.VisualStudio.Modeling.ModelElement sourceRolePlayer, Microsoft.VisualStudio.Modeling.DomainRoleInfo targetRoleInfo, Attribute[] sourceDomainRoleInfoAttributes);
override this.CreateRolePlayerPropertyDescriptor : Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.DomainRoleInfo * Attribute[] -> Microsoft.VisualStudio.Modeling.Design.RolePlayerPropertyDescriptor
Protected Overrides Function CreateRolePlayerPropertyDescriptor (sourceRolePlayer As ModelElement, targetRoleInfo As DomainRoleInfo, sourceDomainRoleInfoAttributes As Attribute()) As RolePlayerPropertyDescriptor

Параметры

sourceRolePlayer
ModelElement

ModelElement, исполняющий роль источника.

targetRoleInfo
DomainRoleInfo

DomainRoleInfo, описывающий целевую роль.

sourceDomainRoleInfoAttributes
Attribute[]

Атрибуты в источнике DomainRoleInfo

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

RolePlayerPropertyDescriptor

RolePlayerPropertyDescriptor

Применяется к