次の方法で共有


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.

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

See Also

Reference

IDiscoveryResult Interface

IDiscoveryResult Members

Microsoft.VisualStudio.Shell.Interop Namespace