ReadOnlyLinkedElementCollection<T>(ModelElement, Guid) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建 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。
- 属性