IVsWindowFrameSwitcher.InitializeSwitcher Method
Initializes the switcher by indicating the VSConstants.VSSELELEMID it will monitor for switching between tools in the group. This can be one of the existing VSSELELEMID values or a custom slot in the SelectionElements registry key.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function InitializeSwitcher ( _
selelem As UInteger _
) As Integer
int InitializeSwitcher(
uint selelem
)
int InitializeSwitcher(
[InAttribute] unsigned int selelem
)
abstract InitializeSwitcher :
selelem:uint32 -> int
function InitializeSwitcher(
selelem : uint
) : int
Parameters
selelem
Type: UInt32[in] The VSConstants.VSSELELEMID of the group to initialize.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.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.