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: System.String[in] Pointer to a string containing the XML to look for. Use GetMemberXML to obtain the XML.
ppObj
Type: Microsoft.VisualStudio.Shell.Interop.IVsXMLMemberData%[out] Pointer to an IVsXMLMemberData interface for the member data.
Return Value
Type: System.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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.