IVsLiteTreeEvents.OnToggleState(UInt32, UInt32) Método

Definição

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

Int32

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  
);  

Aplica-se a