다음을 통해 공유


WindowPane Constructors

Definition

Overloads

WindowPane()

Creates a new window pane with a null parent service provider

WindowPane(IServiceProvider)

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

WindowPane()

Creates a new window pane with a null parent service provider

protected:
 WindowPane();
protected:
 WindowPane();
 WindowPane();
protected WindowPane ();
Protected Sub New ()

Applies to

WindowPane(IServiceProvider)

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

protected:
 WindowPane(IServiceProvider ^ provider);
protected WindowPane (IServiceProvider provider);
new Microsoft.VisualStudio.Shell.WindowPane : IServiceProvider -> Microsoft.VisualStudio.Shell.WindowPane
Protected Sub New (provider As IServiceProvider)

Parameters

provider
IServiceProvider

IServiceProvider. Can be null.

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.

Applies to