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.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.ModelElementThe element which represents the source role in a relationship.
sourceRoleId
Type: System.GuidThe 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