Previous Topic: void SetItemObjId(HAROBJID iItemObjId)

Next Topic: void SetItemPath(LPCTSTR szItemPath)


void SetItemName(LPCTSTR szItemName)

Identifies the item to be removed by its name.

Note: The name is ignored if an item object ID is set. The name is used in conjunction with the path and recursive attributes.

Owning Class

CaRemoveItem

Arguments

LPCTSTR szItemName

Return Value

None

Example

CaRemoveItem& rRemoveItem = rContext.GetRemoveItem();rRemoveItem. SetItemName(“Item1.txt”);

More information: