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.
ppIDiscoveryClientResult
Type: Microsoft.VisualStudio.Shell.Interop.IDiscoveryClientResult%[out] The IDiscoveryClientResult interface of the discovery result.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.