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
'宣言
Function GetReferenceInfo ( _
pIndex As Integer, _
<OutAttribute> ByRef ppIReferenceInfo As IReferenceInfo _
) As Integer
'使用
Dim instance As IDiscoveryResult
Dim pIndex As Integer
Dim ppIReferenceInfo As IReferenceInfo
Dim returnValue As Integer
returnValue = instance.GetReferenceInfo(pIndex, _
ppIReferenceInfo)
int GetReferenceInfo(
int pIndex,
out IReferenceInfo ppIReferenceInfo
)
int GetReferenceInfo(
[InAttribute] int pIndex,
[OutAttribute] IReferenceInfo^% ppIReferenceInfo
)
function GetReferenceInfo(
pIndex : int,
ppIReferenceInfo : IReferenceInfo
) : int
Parameters
pIndex
Type: System.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: System.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
);
Permissions
- 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.