IVsObjectListOwner.UpdateDisplayData Method

Definition

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

public:
 int UpdateDisplayData(Microsoft::VisualStudio::Shell::Interop::IVsObjectList ^ pList, System::UInt32 iItem, int fPackageList, System::UInt32 dwReserved, cli::array <Microsoft::VisualStudio::Shell::Interop::VSTREEDISPLAYDATA> ^ pData);
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);
public int UpdateDisplayData (Microsoft.VisualStudio.Shell.Interop.IVsObjectList pList, uint iItem, int fPackageList, uint dwReserved, Microsoft.VisualStudio.Shell.Interop.VSTREEDISPLAYDATA[] pData);
abstract member UpdateDisplayData : Microsoft.VisualStudio.Shell.Interop.IVsObjectList * uint32 * int * uint32 * Microsoft.VisualStudio.Shell.Interop.VSTREEDISPLAYDATA[] -> int
Public Function UpdateDisplayData (pList As IVsObjectList, iItem As UInteger, fPackageList As Integer, dwReserved As UInteger, pData As VSTREEDISPLAYDATA()) As Integer

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:

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

Applies to