IDiscoveryResult.GetReferenceInfo Method
Returns a pointer to IReferenceInfo that contains information on the XML Web service reference-file types.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function GetReferenceInfo ( _
pIndex As Integer, _
<OutAttribute> ByRef ppIReferenceInfo As IReferenceInfo _
) As Integer
int GetReferenceInfo(
int pIndex,
out IReferenceInfo ppIReferenceInfo
)
int GetReferenceInfo(
[InAttribute] int pIndex,
[OutAttribute] IReferenceInfo^% ppIReferenceInfo
)
abstract GetReferenceInfo :
pIndex:int *
ppIReferenceInfo:IReferenceInfo byref -> int
function GetReferenceInfo(
pIndex : int,
ppIReferenceInfo : IReferenceInfo
) : int
Parameters
pIndex
Type: Int32[in] Pointer to an index object.
ppIReferenceInfo
Type: Microsoft.VisualStudio.Shell.Interop.IReferenceInfo%[out] Pointer to a pointer to an IReferenceInfo object.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From discoveryservice.idl:
HRESULT IDiscoveryResult::GetReferenceInfo(
[in] int pIndex,
[out, retval] IReferenceInfo **ppIReferenceInfo
);
.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.