NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ISelectionUIService.FilterSelection

Filters the set of selected components. The selection service will retrieve all components that are currently selected. This method allows you to filter this set down to components that match your criteria. The selectionRules parameter must contain one or more flags from the SelectionRules class. These flags allow you to constrain the set of selected objects to visible, movable, sizeable or all objects.

[Visual Basic]
Function FilterSelection( _
   ByVal components() As Object, _
   ByVal selectionRules As SelectionRules _
) As Object ()
[C#]
object[] FilterSelection(
   object[] components,
   SelectionRules selectionRules
);
[C++]
Object* FilterSelection(
   Object* components[],
   SelectionRules selectionRules
) [] = 0;
[JScript]
function FilterSelection(
   components : Object[],
   selectionRules : SelectionRules
) : Object[];

Parameters

components
The array of components to filter.
selectionRules
One or more flags from the SelectionRules class. Selection rules can be used to define one or more constraints on the selection set that is returned. If this parameter is zero, all selected components are returned.

Return Value

the filtered set of components.

See Also

ISelectionUIService Interface | ISelectionUIService Members | System.WinForms.Design Namespace