Método IVsLiteTreeEvents.OnToggleExpansion (UInt32, Int32)
Chamado quando um item entra ou sai do estado expandido.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (em Microsoft.VisualStudio.Shell.Interop.dll)
Sintaxe
int OnToggleExpansion(
uint AbsIndex,
int cChange
)
int OnToggleExpansion(
unsigned int AbsIndex,
int cChange
)
abstract OnToggleExpansion :
AbsIndex:uint32 *
cChange:int -> int
Function OnToggleExpansion (
AbsIndex As UInteger,
cChange As Integer
) As Integer
Parâmetros
- AbsIndex
[In] Um inteiro não assinado que contém o índice absoluto do Item.
- cChange
[In] Um inteiro indicando a alteração de estado do item especificado.
Valor de retorno
Type: System.Int32
Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.
Comentários
COM assinatura
De vsshell.idl:
HRESULT IVsLiteTreeEvents::OnToggleExpansion(
[in] ULONG AbsIndex,
[in] long cChange
);
Consulte também
Interface IVsLiteTreeEvents
Namespace Microsoft.VisualStudio.Shell.Interop
Retornar ao topo