IMonitorSelectionService.CurrentSelectionContainer Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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