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;
true if the component is part of the user's current selection; otherwise, false.
Using this method is faster than getting the entire list of selelected components.
ISelectionService Interface | ISelectionService Members | System.ComponentModel.Design Namespace