Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the LinkedElementCollection<T> class for a specified element.
Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
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
- sourceRolePlayer 
 Type: Microsoft.VisualStudio.Modeling.ModelElement- The element which represents the source role in a relationship. 
- sourceRoleId 
 Type: System.Guid- The ID of the source element in the relationship. 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
LinkedElementCollection<T> Class