Udostępnij za pośrednictwem


IVsWindowFrameSwitcher.InitializeSwitcher(UInt32) Method

Definition

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.

public:
 int InitializeSwitcher(System::UInt32 selelem);
public:
 int InitializeSwitcher(unsigned int selelem);
int InitializeSwitcher(unsigned int selelem);
public int InitializeSwitcher (uint selelem);
abstract member InitializeSwitcher : uint32 -> int
Public Function InitializeSwitcher (selelem As UInteger) As Integer

Parameters

selelem
UInt32

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

Returns

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

Applies to