COleServerItem::SetItemName

void SetItemName( LPCTSTR lpszItemName );

Parameters

lpszItemName

Pointer to the new name of the item.

Remarks

Call this function when you create a linked item to set its name. The name must be unique within the document. When a server application is called to edit a linked item, the application uses this name to find the item. You do not need to call this function for embedded items.

COleServerItem OverviewClass MembersHierarchy Chart

See Also   COleServerItem::GetItemName, COleLinkingDoc::OnGetLinkedItem