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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.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: ObjectThe represented element, or null to use the stored represented element when in instance mode
Return Value
Type: 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.