IVsWindowFrameSwitcher.AddTool Method
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaración
Function AddTool ( _
ByRef guidTool As Guid, _
switchContext As String _
) As Integer
'Uso
Dim instance As IVsWindowFrameSwitcher
Dim guidTool As Guid
Dim switchContext As String
Dim returnValue As Integer
returnValue = instance.AddTool(guidTool, _
switchContext)
int AddTool(
ref Guid guidTool,
string switchContext
)
int AddTool(
[InAttribute] Guid% guidTool,
[InAttribute] String^ switchContext
)
abstract AddTool :
guidTool:Guid byref *
switchContext:string -> int
function AddTool(
guidTool : Guid,
switchContext : String
) : int
Parameters
- guidTool
Type: System.Guid%
- switchContext
Type: System.String
Return Value
Type: System.Int32
.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.
See Also
Reference
IVsWindowFrameSwitcher Interface