Bewerken

Delen via


_Application.OrganizerRename Method

Definition

Renames the specified style, AutoText entry, toolbar, or macro project item in a document or template.

public:
 void OrganizerRename(System::String ^ Source, System::String ^ Name, System::String ^ NewName, Microsoft::Office::Interop::Word::WdOrganizerObject Object);
public void OrganizerRename (string Source, string Name, string NewName, Microsoft.Office.Interop.Word.WdOrganizerObject Object);
abstract member OrganizerRename : string * string * string * Microsoft.Office.Interop.Word.WdOrganizerObject -> unit
Public Sub OrganizerRename (Source As String, Name As String, NewName As String, Object As WdOrganizerObject)

Parameters

Source
String

Required String. The file name of the document or template that contains the item you want to rename.

Name
String

Required String. The name of the style, AutoText entry, toolbar, or macro you want to rename.

NewName
String

Required String. The new name for the item.

Object
WdOrganizerObject

Required WdOrganizerObject. The kind of item you want to copy.

Applies to