Compartir a través de


IVsXMLMemberIndex.GetMemberDataFromXML Method

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

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

Syntax

'Declaration
Function GetMemberDataFromXML ( _
    pszXML As String, _
    <OutAttribute> ByRef ppObj As IVsXMLMemberData _
) As Integer
int GetMemberDataFromXML(
    string pszXML,
    out IVsXMLMemberData ppObj
)
int GetMemberDataFromXML(
    [InAttribute] String^ pszXML, 
    [OutAttribute] IVsXMLMemberData^% ppObj
)
abstract GetMemberDataFromXML : 
        pszXML:string * 
        ppObj:IVsXMLMemberData byref -> int
function GetMemberDataFromXML(
    pszXML : String, 
    ppObj : IVsXMLMemberData
) : int

Parameters

  • pszXML
    Type: String

    [in] Pointer to a string containing the XML file name.

Return Value

Type: Int32
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
);

.NET Framework Security

See Also

Reference

IVsXMLMemberIndex Interface

Microsoft.VisualStudio.Shell.Interop Namespace