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!

ISelectionService.GetComponentSelected

Gets whether the component is currently selected.

[Visual Basic]
Function GetComponentSelected( _
   ByVal component As Object _
) As Boolean
[C#]
bool GetComponentSelected(
   object component
);
[C++]
bool GetComponentSelected(
   Object* component
) = 0;
[JScript]
function GetComponentSelected(
   component : Object
) : Boolean;

Parameters

component
The component to test.

Return Value

true if the component is part of the user's current selection; otherwise, false.

Remarks

Using this method is faster than getting the entire list of selelected components.

See Also

ISelectionService Interface | ISelectionService Members | System.ComponentModel.Design Namespace