ElementTypeDescriptor.CreateRolePlayerPropertyDescriptor Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Method to create a PropertyDescriptor which describes a relationship and role to be displayed in the grid.
protected:
virtual Microsoft::VisualStudio::Modeling::Design::RolePlayerPropertyDescriptor ^ CreateRolePlayerPropertyDescriptor(Microsoft::VisualStudio::Modeling::ModelElement ^ sourceRolePlayer, Microsoft::VisualStudio::Modeling::DomainRoleInfo ^ targetRoleInfo, cli::array <Attribute ^> ^ sourceDomainRoleInfoAttributes);
protected virtual Microsoft.VisualStudio.Modeling.Design.RolePlayerPropertyDescriptor CreateRolePlayerPropertyDescriptor (Microsoft.VisualStudio.Modeling.ModelElement sourceRolePlayer, Microsoft.VisualStudio.Modeling.DomainRoleInfo targetRoleInfo, Attribute[] sourceDomainRoleInfoAttributes);
abstract member CreateRolePlayerPropertyDescriptor : Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.DomainRoleInfo * Attribute[] -> Microsoft.VisualStudio.Modeling.Design.RolePlayerPropertyDescriptor
override this.CreateRolePlayerPropertyDescriptor : Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.DomainRoleInfo * Attribute[] -> Microsoft.VisualStudio.Modeling.Design.RolePlayerPropertyDescriptor
Protected Overridable Function CreateRolePlayerPropertyDescriptor (sourceRolePlayer As ModelElement, targetRoleInfo As DomainRoleInfo, sourceDomainRoleInfoAttributes As Attribute()) As RolePlayerPropertyDescriptor
Parameters
- sourceRolePlayer
- ModelElement
ModelElement playing the source role.
- targetRoleInfo
- DomainRoleInfo
DomainRoleInfo describing the target role.
- sourceDomainRoleInfoAttributes
- Attribute[]
Attributes on the source DomainRoleInfo
Returns
RolePlayerPropertyDescriptor