Share via


ReadOnlyLinkedElementCollection<T>(ModelElement, Guid) Constructor

Definition

Creates an instance of the LinkedElementCollection class.

public:
 ReadOnlyLinkedElementCollection(Microsoft::VisualStudio::Modeling::ModelElement ^ sourceRolePlayer, Guid sourceRoleId);
[System.Diagnostics.DebuggerStepThrough]
public ReadOnlyLinkedElementCollection (Microsoft.VisualStudio.Modeling.ModelElement sourceRolePlayer, Guid sourceRoleId);
[<System.Diagnostics.DebuggerStepThrough>]
new Microsoft.VisualStudio.Modeling.ReadOnlyLinkedElementCollection<'T (requires 'T :> Microsoft.VisualStudio.Modeling.ModelElement)> : Microsoft.VisualStudio.Modeling.ModelElement * Guid -> Microsoft.VisualStudio.Modeling.ReadOnlyLinkedElementCollection<'T (requires 'T :> Microsoft.VisualStudio.Modeling.ModelElement)>
Public Sub New (sourceRolePlayer As ModelElement, sourceRoleId As Guid)

Parameters

sourceRolePlayer
ModelElement

Element which holds the links collection.

sourceRoleId
Guid

Domain role Id of the source element in domain relationship.

Attributes

Applies to