Partilhar via


IMonitorSelectionService.CurrentSelectionContainer Property

Definition

Retrieves the currently active selection container. Note that this may be different from the currently active window, since not all windows are selection containers. Command handlers which are driven off of the current selection should use this property, rather than the current window. This is because the selection container may not be the focused window. The distinction is particularly important in the case of the Command Window.

public:
 property System::Object ^ CurrentSelectionContainer { System::Object ^ get(); };
public object CurrentSelectionContainer { get; }
member this.CurrentSelectionContainer : obj
Public ReadOnly Property CurrentSelectionContainer As Object

Property Value

Applies to