Partager via


LinkedElementCollection<T> Constructor (ModelElement, Guid)

Initializes a new instance of the LinkedElementCollection<T> class for a specified element.

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

Syntax

'Déclaration
Public Sub New ( _
    sourceRolePlayer As ModelElement, _
    sourceRoleId As Guid _
)
public LinkedElementCollection(
    ModelElement sourceRolePlayer,
    Guid sourceRoleId
)
public:
LinkedElementCollection(
    ModelElement^ sourceRolePlayer, 
    Guid sourceRoleId
)
new : 
        sourceRolePlayer:ModelElement * 
        sourceRoleId:Guid -> LinkedElementCollection
public function LinkedElementCollection(
    sourceRolePlayer : ModelElement, 
    sourceRoleId : Guid
)

Parameters

  • sourceRoleId
    Type: System.Guid
    The ID of the source element in the relationship.

.NET Framework Security

See Also

Reference

LinkedElementCollection<T> Class

LinkedElementCollection<T> Overload

Microsoft.VisualStudio.Modeling Namespace