IVsObjectListOwner::UpdateDisplayData Method (IVsObjectList^, UInt32, Int32, UInt32, array<VSTREEDISPLAYDATA>^)
Visual Studio 2015
Updates the display data of an object in the object list.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int UpdateDisplayData( IVsObjectList^ pList, unsigned int iItem, int fPackageList, unsigned int dwReserved, array<VSTREEDISPLAYDATA>^ pData )
Parameters
- pList
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsObjectList^
[in] Pointer to an IVsObjectList interface representing the list of object.
- 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.
- dwReserved
-
Type:
System::UInt32
[in] Unused.
- pData
-
Type:
array<Microsoft.VisualStudio.Shell.Interop::VSTREEDISPLAYDATA>^
[in, out] Pointer to a VSTREEDISPLAYDATA structure to hold the updated display information.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsObjectListOwner::UpdateDisplayData( [in] IVsObjectList *pList, [in] ULONG iItem, [in] BOOL fPackageList, [in] DWORD dwReserved, [in,out] VSTREEDISPLAYDATA *pData );
Show: