Compartilhar via


CurrentSelectionPusher(IServiceProvider, ISelectionContainer) Constructor

Definition

Create the component.

public:
 CurrentSelectionPusher(IServiceProvider ^ serviceProvider, Microsoft::VisualStudio::Shell::Interop::ISelectionContainer ^ selectionContainer);
public CurrentSelectionPusher (IServiceProvider serviceProvider, Microsoft.VisualStudio.Shell.Interop.ISelectionContainer selectionContainer);
new Microsoft.VisualStudio.Modeling.Shell.CurrentSelectionPusher : IServiceProvider * Microsoft.VisualStudio.Shell.Interop.ISelectionContainer -> Microsoft.VisualStudio.Modeling.Shell.CurrentSelectionPusher
Public Sub New (serviceProvider As IServiceProvider, selectionContainer As ISelectionContainer)

Parameters

serviceProvider
IServiceProvider

IServiceProvider required to notify Visual Studio of selection change

selectionContainer
ISelectionContainer

Optional external ISelectionContainer implementation to allow this class to share with other selection containers for a window.

Applies to