Freigeben über


RolePlayerPropertyDescriptor.BuildElementList Method

Definition

Overloads

BuildElementList(Object)

Get a list of the valid role players for this property value of the specified component.

BuildElementList(Object, Boolean)

Build a list of the valid role players for this property value of the specified component.

BuildElementList(Object)

Get a list of the valid role players for this property value of the specified component.

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)

Parameters

component
Object

The represented element, or null to use the stored represented element when in instance mode

Returns

List of ModelElements that could be chosen as the role player for the property

Remarks

This should be overridden instead of the ElementList property.

Applies to

BuildElementList(Object, Boolean)

Build a list of the valid role players for this property value of the specified component.

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)

Parameters

component
Object

The represented element, or null to use the stored represented element when in instance mode

includeDescendents
Boolean

Whether to include derived types for the domain role

Returns

List of ModelElements that could be chosen as the role player for the property

Remarks

Derived RolePlayerPropertyDescriptors should call this base method to build the initial candidate list in order to propertly take account of IMS locks.

Applies to