ReadOnlyLinkedElementCollection<T>(ModelElement, Guid) 构造函数

定义

创建 LinkedElementCollection 类的实例。

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)

参数

sourceRolePlayer
ModelElement

元素,该元素包含链接集合。

sourceRoleId
Guid

域关系中的源元素的域角色 Id。

属性

适用于