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
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
)
abstract UpdateDisplayData :
pList:IVsObjectList *
iItem:uint32 *
fPackageList:int *
dwReserved:uint32 *
pData:VSTREEDISPLAYDATA[] byref -> int
function UpdateDisplayData(
pList : IVsObjectList,
iItem : uint,
fPackageList : int,
dwReserved : uint,
pData : VSTREEDISPLAYDATA[]
) : int
Parameters
pList
Type: Microsoft.VisualStudio.Shell.Interop.IVsObjectList[in] Pointer to an IVsObjectList interface representing the list of object.
iItem
Type: UInt32[in] Index of the item in the list to update.
fPackageList
Type: Int32[in] Boolean. Set to true if updating only package information.
dwReserved
Type: 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: 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.