IVsLiteTreeList::GetListChanges Method (UInt32, array<VSTREELISTITEMCHANGE>^)

 

Returns changes that have occurred in a tree list.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int GetListChanges(
	unsigned int% pcChanges,
	array<VSTREELISTITEMCHANGE>^ prgListChanges
)

Parameters

pcChanges
Type: System::UInt32

[in, out] On input, the size of the prgListChanges array. On output, pointer to a count of changes.

prgListChanges
Type: array<Microsoft.VisualStudio.Shell.Interop::VSTREELISTITEMCHANGE>^

[in] Pointer to an array that receives any changes that have been made to the list.

Return Value

Type: System::Int32

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

From vsshell.idl:

HRESULT IVsLiteTreeList::GetListChanges(
   [in,out] ULONG *pcChanges,
   [in, size_is(*pcChanges)] VSTREELISTITEMCHANGE *prgListChanges
);

If prgListChanges is null, pcChanges contains the number of changes. Otherwise pcChanges will indicate the size of the array, so that the caller can allocate the array, to fill with the VSTREELISTITEMCHANGE records.

Return to top
Show: