IVsLiteTreeEvents.OnToggleExpansion(UInt32, Int32) Method

Definition

Called when an item enters or leaves the expanded state.

public:
 int OnToggleExpansion(System::UInt32 AbsIndex, int cChange);
public:
 int OnToggleExpansion(unsigned int AbsIndex, int cChange);
int OnToggleExpansion(unsigned int AbsIndex, int cChange);
public int OnToggleExpansion (uint AbsIndex, int cChange);
abstract member OnToggleExpansion : uint32 * int -> int
Public Function OnToggleExpansion (AbsIndex As UInteger, cChange As Integer) As Integer

Parameters

AbsIndex
UInt32

[In] An unsigned integer containing the Absolute Index of the Item.

cChange
Int32

[In] An integer indicating the state change of the specified item.

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsLiteTreeEvents::OnToggleExpansion(  
   [in] ULONG AbsIndex,   
   [in] long cChange  
);  

Applies to