IDiscoveryClientResultCollection.GetResult(Int32, IDiscoveryClientResult) IDiscoveryClientResultCollection.GetResult(Int32, IDiscoveryClientResult) IDiscoveryClientResultCollection.GetResult(Int32, IDiscoveryClientResult) IDiscoveryClientResultCollection.GetResult(Int32, IDiscoveryClientResult) IDiscoveryClientResultCollection.GetResult(Int32, IDiscoveryClientResult) IDiscoveryClientResultCollection.GetResult(Int32, IDiscoveryClientResult) Method

Definition

Returns a single Web discovery result.

public:
 int GetResult(int pIndex, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IDiscoveryClientResult ^ % ppIDiscoveryClientResult);
public:
 int GetResult(int pIndex, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IDiscoveryClientResult ^ &  ppIDiscoveryClientResult);
int GetResult(int pIndex, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IDiscoveryClientResult const & & ppIDiscoveryClientResult);
public int GetResult (int pIndex, out Microsoft.VisualStudio.Shell.Interop.IDiscoveryClientResult ppIDiscoveryClientResult);
abstract member GetResult : int *  -> int
Public Function GetResult (pIndex As Integer, ByRef ppIDiscoveryClientResult As IDiscoveryClientResult) As Integer
Parameters
pIndex
Int32 Int32 Int32 Int32 Int32 Int32

[in] Index of the discovery result to return.

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::GetResult(  
   [in] int pIndex,   
   [out, retval] IDiscoveryClientResult **ppIDiscoveryClientResult  
;  

Applies to