Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets a tool window.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)
Syntax
'Declaration
Public Function GetToolWindow ( _
toolWindowType As Type _
) As ToolWindow
public ToolWindow GetToolWindow(
Type toolWindowType
)
public:
ToolWindow^ GetToolWindow(
Type^ toolWindowType
)
member GetToolWindow :
toolWindowType:Type -> ToolWindow
public function GetToolWindow(
toolWindowType : Type
) : ToolWindow
Parameters
toolWindowType
Type: TypeThe type of tool window to retrieve.
Return Value
Type: Microsoft.VisualStudio.Modeling.Shell.ToolWindow
The tool window or null if no tool window is returned.
Remarks
Only single-instance tool windows are supported. Therefore, a 1:1 mapping always results.
.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.