IVsPreviewChangesList.GetListChanges Method

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

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

Syntax

'宣言
Function GetListChanges ( _
    <OutAttribute> ByRef pcChanges As UInteger, _
    prgListChanges As VSTREELISTITEMCHANGE() _
) As Integer
'使用
Dim instance As IVsPreviewChangesList
Dim pcChanges As UInteger
Dim prgListChanges As VSTREELISTITEMCHANGE()
Dim returnValue As Integer

returnValue = instance.GetListChanges(pcChanges, _
    prgListChanges)
int GetListChanges(
    out uint pcChanges,
    VSTREELISTITEMCHANGE[] prgListChanges
)
int GetListChanges(
    [InAttribute] [OutAttribute] unsigned int% pcChanges, 
    [InAttribute] array<VSTREELISTITEMCHANGE>^ prgListChanges
)
function GetListChanges(
    pcChanges : uint, 
    prgListChanges : VSTREELISTITEMCHANGE[]
) : int

Parameters

  • pcChanges
    Type: System.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
    Type: []

    [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.

Return Value

Type: System.Int32

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
);

Permissions

See Also

Reference

IVsPreviewChangesList Interface

IVsPreviewChangesList Members

Microsoft.VisualStudio.Shell.Interop Namespace