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
'Usage
Dim instance As IVsObjectListOwner 
Dim pList As IVsObjectList 
Dim iItem As UInteger 
Dim fPackageList As Integer 
Dim dwReserved As UInteger 
Dim pData As VSTREEDISPLAYDATA()
Dim returnValue As Integer 

returnValue = instance.UpdateDisplayData(pList, _
    iItem, fPackageList, dwReserved, _
    pData)
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
)
function UpdateDisplayData(
    pList : IVsObjectList, 
    iItem : uint, 
    fPackageList : int, 
    dwReserved : uint, 
    pData : VSTREEDISPLAYDATA[]
) : int

Parameters

  • iItem
    Type: System.UInt32

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

  • fPackageList
    Type: System.Int32

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

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

IVsObjectListOwner Members

Microsoft.VisualStudio.Shell.Interop Namespace