IVsXMLMemberIndex::GetMemberXML Method (UInt32, String^)
Visual Studio 2015
Retrieves the XML source corresponding to a given member.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- dwId
-
Type:
System::UInt32
[in] Unsigned integer. A member identifier generated by the underlying parser. Obtain the identifier from the ParseMemberSignature method.
- pbstrXML
-
Type:
System::String^
[out] Pointer to a string containing the XML source.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
The XML is surrounded by <doc> </doc> tags, but will otherwise be the exact contents of the XML for the member specified.
Note |
|---|
This method blocks until the index is completely constructed, should that be happening on another thread. The method begins the process of constructing the index if it has not yet begun (or is out of date relative to the XML file). |
From vsshell.idl:
HRESULT IVsXMLMemberIndex::GetMemberXML(
[in] DWORD_PTR dwID,
[out] BSTR *pbstrXML
);
Show:
