Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Creates a tool window.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaration
Public Function CreateToolWindow ( _
ByRef rguidPersistenceSlot As Guid, _
dwToolWindowId As UInteger _
) As Integer
public int CreateToolWindow(
ref Guid rguidPersistenceSlot,
uint dwToolWindowId
)
public:
virtual int CreateToolWindow(
Guid% rguidPersistenceSlot,
unsigned int dwToolWindowId
) sealed
abstract CreateToolWindow :
rguidPersistenceSlot:Guid byref *
dwToolWindowId:uint32 -> int
override CreateToolWindow :
rguidPersistenceSlot:Guid byref *
dwToolWindowId:uint32 -> int
public final function CreateToolWindow(
rguidPersistenceSlot : Guid,
dwToolWindowId : uint
) : int
Parameters
- rguidPersistenceSlot
Type: System.Guid%
The GUID that is assigned to the tool window.
- dwToolWindowId
Type: System.UInt32
The ID that is assigned to the tool window.
Return Value
Type: System.Int32
The status of a method. If no errors are found, it returns success. Otherwise, an exception is returned.
Implements
IVsToolWindowFactory.CreateToolWindow(Guid%, UInt32)
Remarks
When this method is called, IVsToolWindowFactory creates the tool window. For more information, see IVsToolWindowFactory.
.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.