다음을 통해 공유


CurrentSelectionPusher Constructor

Create the component.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.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: System.IServiceProvider

    IServiceProvider required to notify Visual Studio of selection change

.NET Framework Security

See Also

Reference

CurrentSelectionPusher Class

Microsoft.VisualStudio.Modeling.Shell Namespace