Compartilhar via


IDiscoveryResult.GetReferenceInfo(Int32, IReferenceInfo) Method

Definition

Returns a pointer to IReferenceInfo that contains information on the XML Web service reference-file types.

public:
 int GetReferenceInfo(int pIndex, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IReferenceInfo ^ % ppIReferenceInfo);
public:
 int GetReferenceInfo(int pIndex, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IReferenceInfo ^ &  ppIReferenceInfo);
int GetReferenceInfo(int pIndex, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IReferenceInfo const & & ppIReferenceInfo);
public int GetReferenceInfo (int pIndex, out Microsoft.VisualStudio.Shell.Interop.IReferenceInfo ppIReferenceInfo);
abstract member GetReferenceInfo : int * IReferenceInfo -> int
Public Function GetReferenceInfo (pIndex As Integer, ByRef ppIReferenceInfo As IReferenceInfo) As Integer

Parameters

pIndex
Int32

[in] Pointer to an index object.

ppIReferenceInfo
IReferenceInfo

[out] Pointer to a pointer to an IReferenceInfo object.

Returns

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  
);  

Applies to