次の方法で共有


WindowPane Class

A default implementation of a tool window pane. This class implements IVsWindowPane, but the implementer must provide an implementation of an object that returns an IWin32Window. This class also implements IOleCommandTarget, maps it to IMenuCommandService and IObjectWithSite, and maps the site to services that can be queried through its protected GetService method.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

'宣言
<ComVisibleAttribute(True)> _
Public MustInherit Class WindowPane _
    Implements IVsWindowPane, IOleCommandTarget, IVsBroadcastMessageEvents, IServiceProvider,  _
    IDisposable
'使用
Dim instance As WindowPane
[ComVisibleAttribute(true)]
public abstract class WindowPane : IVsWindowPane, 
    IOleCommandTarget, IVsBroadcastMessageEvents, IServiceProvider, IDisposable
[ComVisibleAttribute(true)]
public ref class WindowPane abstract : IVsWindowPane, 
    IOleCommandTarget, IVsBroadcastMessageEvents, IServiceProvider, IDisposable
[<AbstractClassAttribute>]
[<ComVisibleAttribute(true)>]
type WindowPane =  
    class
        interface IVsWindowPane
        interface IOleCommandTarget
        interface IVsBroadcastMessageEvents
        interface IServiceProvider
        interface IDisposable
    end
public abstract class WindowPane implements IVsWindowPane, IOleCommandTarget, IVsBroadcastMessageEvents, IServiceProvider, IDisposable

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Shell.WindowPane
    Microsoft.VisualStudio.Shell.ToolWindowPane

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

WindowPane Members

Microsoft.VisualStudio.Shell Namespace