Share via


IVsObjectList2.GetListChanges(UInt32, VSTREELISTITEMCHANGE[]) Method

Definition

Returns changes that have occurred in a tree list. For future use only.

public:
 int GetListChanges([Runtime::InteropServices::Out] System::UInt32 % pcChanges, cli::array <Microsoft::VisualStudio::Shell::Interop::VSTREELISTITEMCHANGE> ^ prgListChanges);
int GetListChanges([Runtime::InteropServices::Out] unsigned int & pcChanges, std::Array <Microsoft::VisualStudio::Shell::Interop::VSTREELISTITEMCHANGE> const & prgListChanges);
public int GetListChanges (out uint pcChanges, Microsoft.VisualStudio.Shell.Interop.VSTREELISTITEMCHANGE[] prgListChanges);
abstract member GetListChanges : uint32 * Microsoft.VisualStudio.Shell.Interop.VSTREELISTITEMCHANGE[] -> int
Public Function GetListChanges (ByRef pcChanges As UInteger, prgListChanges As VSTREELISTITEMCHANGE()) As Integer

Parameters

pcChanges
UInt32

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

prgListChanges
VSTREELISTITEMCHANGE[]

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

Returns

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

Remarks

COM Signature

From vsshell80.idl:

[C++]

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

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

Applies to