RolePlayerPropertyDescriptor.BuildElementList 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| BuildElementList(Object) |
获取指定组件的此属性值的有效角色扮演者列表。 |
| BuildElementList(Object, Boolean) |
为指定组件的此属性值生成有效角色扮演者的列表。 |
BuildElementList(Object)
获取指定组件的此属性值的有效角色扮演者列表。
protected public:
virtual System::Collections::Generic::IList<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ BuildElementList(System::Object ^ component);
protected internal virtual System.Collections.Generic.IList<Microsoft.VisualStudio.Modeling.ModelElement> BuildElementList (object component);
abstract member BuildElementList : obj -> System.Collections.Generic.IList<Microsoft.VisualStudio.Modeling.ModelElement>
override this.BuildElementList : obj -> System.Collections.Generic.IList<Microsoft.VisualStudio.Modeling.ModelElement>
Protected Friend Overridable Function BuildElementList (component As Object) As IList(Of ModelElement)
参数
- component
- Object
表示的元素; 如果在实例模式下使用存储的表示元素,则为 null
返回
可以选择作为属性角色扮演者的 ModelElements 列表
注解
应重写此属性,而不是 ElementList 属性。
适用于
BuildElementList(Object, Boolean)
为指定组件的此属性值生成有效角色扮演者的列表。
protected:
System::Collections::Generic::IList<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ BuildElementList(System::Object ^ component, bool includeDescendents);
protected System.Collections.Generic.IList<Microsoft.VisualStudio.Modeling.ModelElement> BuildElementList (object component, bool includeDescendents);
member this.BuildElementList : obj * bool -> System.Collections.Generic.IList<Microsoft.VisualStudio.Modeling.ModelElement>
Protected Function BuildElementList (component As Object, includeDescendents As Boolean) As IList(Of ModelElement)
参数
- component
- Object
表示的元素; 如果在实例模式下使用存储的表示元素,则为 null
- includeDescendents
- Boolean
是否包括域角色的派生类型
返回
可以选择作为属性角色扮演者的 ModelElements 列表
注解
派生的 RolePlayerPropertyDescriptors 应调用此基方法以生成初始候选列表,以正确使用 IMS 锁的帐户。