Freigeben über


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 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 to look for. Use GetMemberXML to obtain the XML.

Return Value

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

.NET Framework Security

See Also

Reference

IVsXMLMemberIndexService Interface

Microsoft.VisualStudio.Shell.Interop Namespace