_Application.OrganizerRename Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應