Compartir a través de


COleServerItem::SetItemName

Call this function when you create a linked item to set its name.

void SetItemName(
   LPCTSTR lpszItemName 
);

Parameters

  • lpszItemName
    Pointer to the new name of the item.

Remarks

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.

Requirements

Header: afxole.h

See Also

Reference

COleServerItem Class

Hierarchy Chart

COleServerItem::GetItemName

COleLinkingDoc::OnGetLinkedItem

Other Resources

COleServerItem Members