IDiscoveryClientResultCollection.GetResultCount(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
);