Compartir a través de


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

'Declaración
Function GetResult ( _
    pIndex As Integer, _
    <OutAttribute> ByRef ppIDiscoveryClientResult As IDiscoveryClientResult _
) As Integer
'Uso
Dim instance As IDiscoveryClientResultCollection
Dim pIndex As Integer
Dim ppIDiscoveryClientResult As IDiscoveryClientResult
Dim returnValue As Integer

returnValue = instance.GetResult(pIndex, _
    ppIDiscoveryClientResult)
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: System.Int32
    [in] Index of the discovery result to return.

Return Value

Type: System.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

IDiscoveryClientResultCollection Members

Microsoft.VisualStudio.Shell.Interop Namespace