WindowPane Constructor (IServiceProvider)

Initializes a new instance of WindowPane with the specified service provider.

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

Syntax

'Declaração
Protected Sub New ( _
    provider As IServiceProvider _
)
protected WindowPane(
    IServiceProvider provider
)

Parameters

Remarks

Use null for the IServiceProvider unless the instance of the pane must access shell services between the construction of the object and the call to SetSite.

If you do pass an instance of IServiceProvider to the constructor, it must not store the provider for a package or editor factory; the implementation of SetSite will change its value.

.NET Framework Security

See Also

Reference

WindowPane Class

WindowPane Overload

Microsoft.VisualStudio.Shell Namespace