Compartilhar via


IVsXMLMemberIndex.GetMemberDataFromXML(String, IVsXMLMemberData) Method

Definition

Returns an interface (IVsXMLMemberData) that extracts and renders text from a given XML file.

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 file name.

ppObj
IVsXMLMemberData

[out] Pointer to an IVsXMLMemberData interface.

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsXMLMemberIndex::GetMemberDataFromXML(  
   [in] LPCOLESTR pszXML,   
   [out] IVsXMLMemberData **ppObj  
);  

Applies to