Udostępnij za pośrednictwem


IDiscoveryClientResultCollection.GetResultCount(Int32) Method

Definition

Returns the number of results in the collection of discovery results.

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

Parameters

pCount
Int32

[out] The number of discovery results in the collection.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From discoveryservice80.idl:

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

Applies to