共用方式為


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
)
abstract GetReferenceInfo : 
        pIndex:int * 
        ppIReferenceInfo:IReferenceInfo byref -> int 
function GetReferenceInfo(
    pIndex : int, 
    ppIReferenceInfo : IReferenceInfo
) : int

Parameters

  • pIndex
    Type: System.Int32
    [in] Pointer to an index 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
);

.NET Framework Security

See Also

Reference

IDiscoveryResult Interface

IDiscoveryResult Members

Microsoft.VisualStudio.Shell.Interop Namespace