Compartilhar via


IDiscoveryClientResultCollection.GetResult Method

Returns a single Web discovery result.

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

Syntax

'Declaration
Function GetResult ( _
    pIndex As Integer, _
    <OutAttribute> ByRef ppIDiscoveryClientResult As IDiscoveryClientResult _
) As Integer
int GetResult(
    int pIndex,
    out IDiscoveryClientResult ppIDiscoveryClientResult
)
int GetResult(
    [InAttribute] int pIndex, 
    [OutAttribute] IDiscoveryClientResult^% ppIDiscoveryClientResult
)
abstract GetResult : 
        pIndex:int * 
        ppIDiscoveryClientResult:IDiscoveryClientResult byref -> int
function GetResult(
    pIndex : int, 
    ppIDiscoveryClientResult : IDiscoveryClientResult
) : int

Parameters

  • pIndex
    Type: Int32

    [in] Index of the discovery result to return.

Return Value

Type: Int32
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
;

.NET Framework Security

See Also

Reference

IDiscoveryClientResultCollection Interface

Microsoft.VisualStudio.Shell.Interop Namespace