Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Private Function CreateToolWindow ( _
ByRef toolWindowType As Guid, _
id As UInteger _
) As Integer Implements IVsToolWindowFactory.CreateToolWindow
'使用
Dim instance As Package
Dim toolWindowType As Guid
Dim id As UInteger
Dim returnValue As Integer
returnValue = CType(instance, IVsToolWindowFactory).CreateToolWindow(toolWindowType, _
id)
int IVsToolWindowFactory.CreateToolWindow(
ref Guid toolWindowType,
uint id
)
private:
virtual int CreateToolWindow(
Guid% toolWindowType,
unsigned int id
) sealed = IVsToolWindowFactory::CreateToolWindow
JScript does not support explicit interface implementations.
Parameters
- toolWindowType
Type: System.Guid%
- id
Type: System.UInt32
Return Value
Type: System.Int32
Implements
IVsToolWindowFactory.CreateToolWindow(Guid%, UInt32)
Permissions
- 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.