Udostępnij za pośrednictwem


IDiscoveryClientResultCollection.GetResult 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 * IDiscoveryClientResult -> int
Public Function GetResult (pIndex As Integer, ByRef ppIDiscoveryClientResult As IDiscoveryClientResult) As Integer

Parameters

pIndex
Int32

[in] Index of the discovery result to return.

ppIDiscoveryClientResult
IDiscoveryClientResult

[out] The IDiscoveryClientResult interface of the discovery result.

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