Share via


CurrentSelectionPusher Constructor

Create the component.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)

Syntax

'Declaration
Public Sub New ( _
    serviceProvider As IServiceProvider, _
    selectionContainer As ISelectionContainer _
)
public CurrentSelectionPusher(
    IServiceProvider serviceProvider,
    ISelectionContainer selectionContainer
)
public:
CurrentSelectionPusher(
    IServiceProvider^ serviceProvider, 
    ISelectionContainer^ selectionContainer
)
new : 
        serviceProvider:IServiceProvider * 
        selectionContainer:ISelectionContainer -> CurrentSelectionPusher
public function CurrentSelectionPusher(
    serviceProvider : IServiceProvider, 
    selectionContainer : ISelectionContainer
)

Parameters

  • serviceProvider
    Type: IServiceProvider

    IServiceProvider required to notify Visual Studio of selection change

.NET Framework Security

See Also

Reference

CurrentSelectionPusher Class

Microsoft.VisualStudio.Modeling.Shell Namespace