Compartir a través de


ToolWindowPane.Package Property

Gets or sets the package that owns the tool window.

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

Syntax

'Declaración
Public Property Package As Object
    Get
    Set
'Uso
Dim instance As ToolWindowPane
Dim value As Object

value = instance.Package

instance.Package = value
public Object Package { get; set; }
public:
property Object^ Package {
    Object^ get ();
    void set (Object^ value);
}
member Package : Object with get, set
function get Package () : Object
function set Package (value : Object)

Property Value

Type: System.Object
Package.

Remarks

This should be set only by the base package on creation of the tool window.

.NET Framework Security

See Also

Reference

ToolWindowPane Class

ToolWindowPane Members

Microsoft.VisualStudio.Shell Namespace