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.GetPrimarySelection

Gets the object that is currently the primary selection.

[Visual Basic]
Function GetPrimarySelection() As Object
[C#]
object GetPrimarySelection();
[C++]
Object* GetPrimarySelection() = 0;
[JScript]
function GetPrimarySelection() : Object;

Return Value

The primary selection.

Remarks

The primary selection has a slightly different UI look and is used as a "key" when an operation is to be done on multiple components.

See Also

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