Previous Topic: void SetItemObjId(HAROBJID iItemObjId)

Next Topic: void SetItemPath(LPCTSTR szItemPath)


void SetItemName(LPCTSTR szItemName)

Identifies the item to be renamed by its name.

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

Owning Class

CaRenameItem

Arguments

LPCTSTR szItemName

Return Value

None

Example

CaRenameItem& rRenameItem = rContext.GetRenameItem();
rRenameItem.SetItemName(“Item1.txt”);

More information: