ReadOnlyLinkedElementCollection<T> Constructor
Initializes a new instance of the ReadOnlyLinkedElementCollection class.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
声明
Public Sub New ( _
sourceRolePlayer As ModelElement, _
sourceRoleId As Guid _
)
public ReadOnlyLinkedElementCollection(
ModelElement sourceRolePlayer,
Guid sourceRoleId
)
public:
ReadOnlyLinkedElementCollection(
ModelElement^ sourceRolePlayer,
Guid sourceRoleId
)
new :
sourceRolePlayer:ModelElement *
sourceRoleId:Guid -> ReadOnlyLinkedElementCollection
public function ReadOnlyLinkedElementCollection(
sourceRolePlayer : ModelElement,
sourceRoleId : Guid
)
Parameters
- sourceRolePlayer
Type: Microsoft.VisualStudio.Modeling.ModelElement
Element which holds the links collection.
- sourceRoleId
Type: System.Guid
Domain role ID of the source element in the domain 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.