IDiscoveryResult.GetReferenceInfo Method (Int32, IReferenceInfo)

 

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)

int GetReferenceInfo(
	int pIndex,
	out IReferenceInfo ppIReferenceInfo
)

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.

From discoveryservice.idl:

HRESULT IDiscoveryResult::GetReferenceInfo(
   [in] int pIndex,
   [out, retval] IReferenceInfo **ppIReferenceInfo
);
Return to top
Show: