IVsObjectListOwner.UpdateDisplayData Method

Definition

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

C++/WinRT
int UpdateDisplayData(Microsoft::VisualStudio::Shell::Interop::IVsObjectList const & pList, unsigned int iItem, int fPackageList, unsigned int dwReserved, std::Array <Microsoft::VisualStudio::Shell::Interop::VSTREEDISPLAYDATA> const & pData);

Parameters

pList
IVsObjectList

[in] Pointer to an IVsObjectList interface representing the list of object.

iItem
UInt32

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

fPackageList
Int32

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

dwReserved
UInt32

[in] Unused.

pData
VSTREEDISPLAYDATA[]

[in, out] Pointer to a VSTREEDISPLAYDATA structure to hold the updated display information.

Returns

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

Remarks

COM Signature

From vsshell.idl:

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

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022