IVsSimpleObjectList2.GetItemCount(UInt32) Yöntem

Tanım

Geçerli ağaç listesindeki öğe sayısını döndürür.

public:
 int GetItemCount([Runtime::InteropServices::Out] System::UInt32 % pCount);
int GetItemCount([Runtime::InteropServices::Out] unsigned int & pCount);
public int GetItemCount (out uint pCount);
abstract member GetItemCount : uint32 -> int
Public Function GetItemCount (ByRef pCount As UInteger) As Integer

Parametreler

pCount
UInt32

dışı Ağaç listesi öğelerinin sayısına 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ı

Vsshell80. IDL adresinden:

HRESULT IVsSimpleObjectList2::GetItemCount(  
   [out] ULONG* pCount  
);  

Şunlara uygulanır