This documentation is archived and is not being maintained.

IVsXMLMemberIndexService.GetMemberDataFromXML Method

Retrieves XML for a member based on a segment of XML.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in

int GetMemberDataFromXML (
	[InAttribute] string pszXML,
	out IVsXMLMemberData ppObj
int GetMemberDataFromXML (
	/** @attribute InAttribute() */ String pszXML, 
	/** @attribute OutAttribute() */ /** @ref */ IVsXMLMemberData ppObj
JScript does not support passing value-type arguments by reference.



[in] Pointer to a string containing the XML to look for. Use GetMemberXML to obtain the XML.


[out] Pointer to an IVsXMLMemberData interface for the member data.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

This method is equivalent to GetMemberDataFromXML but is on a more convenient interface.

COM Signature

From vsshell.idl:

HRESULT IVsXMLMemberIndexService::GetMemberDataFromXML(
   [in] LPCOLESTR pszXML, 
   [out] IVsXMLMemberData **ppObj