共用方式為


SVsShellMonitorSelection Interface

Passed to GetService to return a reference to IVsMonitorSelection.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'宣告
<GuidAttribute("55AB9450-F9C7-4305-94E8-BEF12065338D")> _
<GuidAttribute("55AB9450-F9C7-4305-94E8-BEF12065338D")> _
Public Interface SVsShellMonitorSelection
'用途
Dim instance As SVsShellMonitorSelection
[GuidAttribute("55AB9450-F9C7-4305-94E8-BEF12065338D")]
[GuidAttribute("55AB9450-F9C7-4305-94E8-BEF12065338D")]
public interface SVsShellMonitorSelection
[GuidAttribute(L"55AB9450-F9C7-4305-94E8-BEF12065338D")]
[GuidAttribute(L"55AB9450-F9C7-4305-94E8-BEF12065338D")]
public interface class SVsShellMonitorSelection
public interface SVsShellMonitorSelection

Remarks

SVsShellMonitorSelection is a global service that manages property browsing in the environment.

It is also implemented in cut, copy, and paste operations to determine the affected item to determine what to put into your data object.

Information about selection includes the IVsHierarchy interface of the selected item, an identifier that points to item-specific data, and the selection container.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace