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
'宣告
Function UpdateDisplayData ( _
pList As IVsObjectList, _
iItem As UInteger, _
fPackageList As Integer, _
dwReserved As UInteger, _
<OutAttribute> pData As VSTREEDISPLAYDATA() _
) As Integer
'用途
Dim instance As IVsObjectListOwner
Dim pList As IVsObjectList
Dim iItem As UInteger
Dim fPackageList As Integer
Dim dwReserved As UInteger
Dim pData As VSTREEDISPLAYDATA()
Dim returnValue As Integer
returnValue = instance.UpdateDisplayData(pList, _
iItem, fPackageList, dwReserved, _
pData)
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: 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.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.