IVsLiteTreeEvents.OnToggleState(UInt32, UInt32) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Chamado quando um ícone muda de estado.
public:
int OnToggleState(System::UInt32 AbsIndex, System::UInt32 tscr);
public:
int OnToggleState(unsigned int AbsIndex, unsigned int tscr);
int OnToggleState(unsigned int AbsIndex, unsigned int tscr);
public int OnToggleState (uint AbsIndex, uint tscr);
abstract member OnToggleState : uint32 * uint32 -> int
Public Function OnToggleState (AbsIndex As UInteger, tscr As UInteger) As Integer
Parâmetros
- AbsIndex
- UInt32
No Um inteiro sem sinal que contém o índice absoluto do item.
- tscr
- UInt32
No Um objeto do tipo VSTREESTATECHANGEREFRESH
Retornos
Se o método for bem-sucedido, retornará S_OK. Se falhar, retornará um código de erro.
Comentários
Assinatura COM
De VSShell. idl:
HRESULT IVsLiteTreeEvents::OnToggleState(
[in] ULONG AbsIndex,
[in] VSTREESTATECHANGEREFRESH tscr
);