CurrentSelectionPusher Constructor
Create the component.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaração
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
- selectionContainer
Type: Microsoft.VisualStudio.Shell.Interop.ISelectionContainer
Optional external ISelectionContainer implementation to allow this class to share with other selection containers for a window.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.