Bagikan melalui


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: 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

Microsoft.VisualStudio.Shell.Interop Namespace