RolePlayerPropertyDescriptor.BuildElementList Method (Object, Boolean)
Build 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 Function BuildElementList ( _
component As Object, _
includeDescendents As Boolean _
) As IList(Of ModelElement)
protected IList<ModelElement> BuildElementList(
Object component,
bool includeDescendents
)
protected:
IList<ModelElement^>^ BuildElementList(
Object^ component,
bool includeDescendents
)
member BuildElementList :
component:Object *
includeDescendents:bool -> IList<ModelElement>
protected function BuildElementList(
component : Object,
includeDescendents : boolean
) : IList<ModelElement>
Parameters
component
Type: System.ObjectThe represented element, or null to use the stored represented element when in instance mode
includeDescendents
Type: System.BooleanWhether to include derived types for the domain role
Return Value
Type: System.Collections.Generic.IList<ModelElement>
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.
.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.