Share via


SelectionData.SelectionObject Property

 

Gets the selection object that is provided by the snap-in for the items that are represented by the new selection.

Namespace:   Microsoft.ManagementConsole
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Syntax

public object SelectionObject { get; }
public:
property Object^ SelectionObject {
    Object^ get();
}
member SelectionObject : Object with get
Public ReadOnly Property SelectionObject As Object

Property Value

Type: System.Object

The SelectionObject representing the selection

Remarks

The selection object is provided by a snap-in to uniquely identify the data that is represented by the current selection. For the given data, the snap-in must always provide equal instances of SelectionObject across selection changes and across view instances. The instances are considered equal as determinable by System.IComparable.CompareTo if the selection object implements IComparable, or by a reference comparison if the selection object does not implement IComparable.

See Also

Update
SelectionData Class
Microsoft.ManagementConsole Namespace

Return to top