Compartir a través de


IVsXMLMemberIndexService.GetMemberDataFromXML Method

Definition

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

public:
 int GetMemberDataFromXML(System::String ^ pszXML, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsXMLMemberData ^ % ppObj);
public:
 int GetMemberDataFromXML(Platform::String ^ pszXML, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsXMLMemberData ^ &  ppObj);
int GetMemberDataFromXML(std::wstring const & pszXML, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsXMLMemberData const & & ppObj);
public int GetMemberDataFromXML (string pszXML, out Microsoft.VisualStudio.Shell.Interop.IVsXMLMemberData ppObj);
abstract member GetMemberDataFromXML : string * IVsXMLMemberData -> int
Public Function GetMemberDataFromXML (pszXML As String, ByRef ppObj As IVsXMLMemberData) As Integer

Parameters

pszXML
String

[in] Pointer to a string containing the XML to look for. Use GetMemberXML(UInt32, String) to obtain the XML.

ppObj
IVsXMLMemberData

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

Returns

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

Remarks

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

Applies to