IDiscoveryClientResultCollection::GetResultCount Method (Int32)

 

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

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int GetResultCount(
	[OutAttribute] int% pCount
)

Parameters

pCount
Type: System::Int32

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

Return Value

Type: System::Int32

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

From discoveryservice80.idl:

HRESULT IDiscoveryClientResultCollection::GetResultCount(
   [out, retval] int *pCount
);
Return to top
Show: