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

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsWindowFrameSwitcher Interface

Microsoft.VisualStudio.Shell.Interop Namespace