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.
- ppIDiscoveryClientResult
Type: Microsoft.VisualStudio.Shell.Interop.IDiscoveryClientResult%
[out] The IDiscoveryClientResult interface of the discovery result.
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
- 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.
See Also
Reference
IDiscoveryClientResultCollection Interface