Compartilhar via


IVsObjectList2.GetListChanges Method

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

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

Syntax

'Declaration
Function GetListChanges ( _
    <OutAttribute> ByRef pcChanges As UInteger, _
    prgListChanges As VSTREELISTITEMCHANGE() _
) As Integer
int GetListChanges(
    out uint pcChanges,
    VSTREELISTITEMCHANGE[] prgListChanges
)
int GetListChanges(
    [InAttribute] [OutAttribute] unsigned int% pcChanges, 
    [InAttribute] array<VSTREELISTITEMCHANGE>^ prgListChanges
)
abstract GetListChanges : 
        pcChanges:uint32 byref * 
        prgListChanges:VSTREELISTITEMCHANGE[] -> int
function GetListChanges(
    pcChanges : uint, 
    prgListChanges : VSTREELISTITEMCHANGE[]
) : int

Parameters

  • pcChanges
    Type: UInt32%

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

Return Value

Type: Int32
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 nulla null reference (Nothing in Visual Basic), 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.

.NET Framework Security

See Also

Reference

IVsObjectList2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace