ElementTypeDescriptor::CreateRolePlayerPropertyDescriptor Method (ModelElement^, DomainRoleInfo^, array<Attribute^>^)

 

Creates a descriptor for a role property of a model element.

Namespace:   Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

protected:
virtual RolePlayerPropertyDescriptor^ CreateRolePlayerPropertyDescriptor(
	ModelElement^ sourceRolePlayer,
	DomainRoleInfo^ targetRoleInfo,
	array<Attribute^>^ sourceDomainRoleInfoAttributes
)

Parameters

sourceRolePlayer
Type: Microsoft.VisualStudio.Modeling::ModelElement^

The model element that plays the source role.

targetRoleInfo
Type: Microsoft.VisualStudio.Modeling::DomainRoleInfo^

The domain role information for the target role player.

sourceDomainRoleInfoAttributes
Type: array<System::Attribute^>^

An array that contains the attributes to apply to the source role property.

Return Value

Type: Microsoft.VisualStudio.Modeling.Design::RolePlayerPropertyDescriptor^

The descriptor for the role property of the model element.

Return to top
Show: