IDiscoveryClientResultCollection.GetResultCount(Int32) Yöntem

Tanım

Bulma sonuçları koleksiyonundaki sonuç sayısını döndürür.

public:
 int GetResultCount([Runtime::InteropServices::Out] int % pCount);
int GetResultCount([Runtime::InteropServices::Out] int & pCount);
public int GetResultCount (out int pCount);
abstract member GetResultCount : int -> int
Public Function GetResultCount (ByRef pCount As Integer) As Integer

Parametreler

pCount
Int32

dışı Koleksiyondaki bulma sonuçlarının sayısı.

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ı

Discoveryservice80. IDL adresinden:

HRESULT IDiscoveryClientResultCollection::GetResultCount(  
   [out, retval] int *pCount  
);  

Şunlara uygulanır