Compartir a través de


IVsObjectListOwner.UpdateDisplayData Method

Updates the display data of an object in the object list.

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

Syntax

'Declaration
Function UpdateDisplayData ( _
    pList As IVsObjectList, _
    iItem As UInteger, _
    fPackageList As Integer, _
    dwReserved As UInteger, _
    <OutAttribute> pData As VSTREEDISPLAYDATA() _
) As Integer
int UpdateDisplayData(
    IVsObjectList pList,
    uint iItem,
    int fPackageList,
    uint dwReserved,
    VSTREEDISPLAYDATA[] pData
)
int UpdateDisplayData(
    [InAttribute] IVsObjectList^ pList, 
    [InAttribute] unsigned int iItem, 
    [InAttribute] int fPackageList, 
    [InAttribute] unsigned int dwReserved, 
    [InAttribute] [OutAttribute] array<VSTREEDISPLAYDATA>^ pData
)
abstract UpdateDisplayData : 
        pList:IVsObjectList * 
        iItem:uint32 * 
        fPackageList:int * 
        dwReserved:uint32 * 
        pData:VSTREEDISPLAYDATA[] byref -> int
function UpdateDisplayData(
    pList : IVsObjectList, 
    iItem : uint, 
    fPackageList : int, 
    dwReserved : uint, 
    pData : VSTREEDISPLAYDATA[]
) : int

Parameters

  • iItem
    Type: UInt32

    [in] Index of the item in the list to update.

  • fPackageList
    Type: Int32

    [in] Boolean. Set to true if updating only package information.

  • dwReserved
    Type: UInt32

    [in] Unused.

Return Value

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsObjectListOwner::UpdateDisplayData(
   [in] IVsObjectList *pList, 
   [in] ULONG iItem, 
   [in] BOOL fPackageList, 
   [in] DWORD dwReserved, 
   [in,out] VSTREEDISPLAYDATA *pData
);

.NET Framework Security

See Also

Reference

IVsObjectListOwner Interface

Microsoft.VisualStudio.Shell.Interop Namespace