ITcSmTreeItem::ProduceXml
Serializes the current item into an XML document with the root node TreeItem. The basic serialization includes, among other things, ItemName, as well as the optional languageIndependentName, Comment, PathName, ItemType, ItemId, ObjectId, AmlId, ItemSubType, ItemSubTypeName, ChildCount, Disabled, project variants, free-form Xml, and extension request/response data.
Signature
HRESULT ProduceXml(VARIANT_BOOL bRecursive, BSTR* pXML);
Parameter
|
Name |
Type |
Description |
|---|---|---|
|
bRecursive |
VARIANT_BOOL |
[in, defaultvalue(0)] If |
Return value
|
Name |
Type |
Description |
|---|---|---|
|
pXML |
BSTR* |
[out, retval] Serialized XML. |
|
(HRESULT) |
HRESULT |
|
Error codes
-
E_POINTER:pXMLisNULL. -
TSM_E_ITEMDELETED: The referenced Tree Item is no longer valid.