次の方法で共有


IVsObjectList.GetListChanges(UInt32, VSTREELISTITEMCHANGE[]) Method

Definition

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

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.

Implements

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsObjectList::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.

Applies to