ITcSmTreeItem::ExportChild

Exports a child item to the clipboard or a file.

HRESULT ExportChild(BSTRbstrName, BSTRbstrFile); 

Parameters

bstrName

[in] Name of the child being exported.

bstrFile

[in, defaultvalue("")] File name of the file to which the child will be exported. If no file name specified (empty string) the child will be exported to the clipboard.

Return Values

S_OK

function returns successfully.

TSM_E_ITEMNOTFOUND (0x98510001)

The item bstrName was not found.