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
'Declaration
Public Property Package As Object
Get
Set
'Usage
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
- 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.