IVsObjectListOwner.UpdateDisplayData Yöntem

Tanım

Nesne listesindeki bir nesnenin görüntüleme verilerini güncelleştirir.

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

Parametreler

pList
IVsObjectList

'ndaki IVsObjectList Nesnenin listesini temsil eden bir arabirim işaretçisi.

iItem
UInt32

'ndaki Güncelleştirilecek listedeki öğenin dizini.

fPackageList
Int32

'ndaki Boolean. trueYalnızca paket bilgileri güncelleştiriyoruz olarak ayarlayın.

dwReserved
UInt32

'ndaki Kullanılmayan.

pData
VSTREEDISPLAYDATA[]

[in, out] VSTREEDISPLAYDATA Güncelleştirilmiş görüntü bilgilerini tutacak bir yapıya yönelik işaretçi.

Döndürülenler

Int32

Yöntem başarılı olursa, döndürür S_OK . Başarısız olursa, bir hata kodu döndürür.

Açıklamalar

COM Imzası

Vsshell. IDL dosyasından:

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

Şunlara uygulanır