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.IServiceProviderIServiceProvider required to notify Visual Studio of selection change
selectionContainer
Type: Microsoft.VisualStudio.Shell.Interop.ISelectionContainerOptional 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.