Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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)

int UpdateDisplayData (
	[InAttribute] IVsObjectList pList,
	[InAttribute] uint iItem,
	[InAttribute] int fPackageList,
	[InAttribute] uint dwReserved,
	[InAttribute] [OutAttribute] VSTREEDISPLAYDATA[] pData
)
int UpdateDisplayData (
	/** @attribute InAttribute() */ IVsObjectList pList, 
	/** @attribute InAttribute() */ UInt32 iItem, 
	/** @attribute InAttribute() */ int fPackageList, 
	/** @attribute InAttribute() */ UInt32 dwReserved, 
	/** @attribute InAttribute() */ /** @attribute OutAttribute() */ VSTREEDISPLAYDATA[] pData
)
function UpdateDisplayData (
	pList : IVsObjectList, 
	iItem : uint, 
	fPackageList : int, 
	dwReserved : uint, 
	pData : VSTREEDISPLAYDATA[]
) : int

Parameters

pList

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

iItem

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

fPackageList

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

dwReserved

[in] Unused.

pData

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

Return Value

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

COM Signature

From vsshell.idl:

HRESULT IVsObjectListOwner::UpdateDisplayData(
   [in] IVsObjectList *pList, 
   [in] ULONG iItem, 
   [in] BOOL fPackageList, 
   [in] DWORD dwReserved, 
   [in,out] VSTREEDISPLAYDATA *pData
);
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.