Share via


IVsPreviewChangesList.GetListChanges(UInt32, VSTREELISTITEMCHANGE[]) Method

Definition

Returns a list of changes made to the items in the preview list.

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] If prgListChanges parameter is a null value, this parameter returns the number of changes in the list. If prgListChanges is not a null value, this parameter specifies the number of changes to return.

prgListChanges
VSTREELISTITEMCHANGE[]

[in, out] An array of VSTREELISTITEMCHANGE structures that describe the change of each item in the preview list. This parameter can be a null value, in which case the number of changes available is returned in the pcChanges parameter.

Returns

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

Remarks

COM Signature

From vsshell80.idl:

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

Applies to