Partager via


RolePlayerPropertyDescriptor.BuildElementList Method (Object)

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

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Syntax

'Declaration
Protected Friend Overridable Function BuildElementList ( _
    component As Object _
) As IList(Of ModelElement)
protected internal virtual IList<ModelElement> BuildElementList(
    Object component
)
protected public:
virtual IList<ModelElement^>^ BuildElementList(
    Object^ component
)
abstract BuildElementList : 
        component:Object -> IList<ModelElement> 
override BuildElementList : 
        component:Object -> IList<ModelElement> 
function BuildElementList(
    component : Object
) : IList<ModelElement>

Parameters

  • component
    Type: System.Object

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

Return Value

Type: System.Collections.Generic.IList<ModelElement>
List of ModelElements that could be chosen as the role player for the property

Remarks

This should be overridden instead of the ElementList property.

.NET Framework Security

See Also

Reference

RolePlayerPropertyDescriptor Class

BuildElementList Overload

Microsoft.VisualStudio.Modeling.Design Namespace