IVsWindowFrameSwitcher::InitializeSwitcher Method (UInt32)

 

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)

int InitializeSwitcher(
	unsigned int selelem
)

Parameters

selelem
Type: System::UInt32

[in] The VSConstants::VSSELELEMID of the group to initialize.

Return Value

Type: System::Int32

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

Return to top
Show: