ReadOnlyLinkedElementCollection<T>(ModelElement, Guid) Constructor
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.
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