_Application.OrganizerDelete(String, String, WdOrganizerObject) Method

Definition

Deletes the specified style, AutoText entry, toolbar, or macro project item from a document or template.

public:
 void OrganizerDelete(System::String ^ Source, System::String ^ Name, Microsoft::Office::Interop::Word::WdOrganizerObject Object);
public void OrganizerDelete (string Source, string Name, Microsoft.Office.Interop.Word.WdOrganizerObject Object);
abstract member OrganizerDelete : string * string * Microsoft.Office.Interop.Word.WdOrganizerObject -> unit
Public Sub OrganizerDelete (Source As String, Name 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 delete.

Name
String

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

Object
WdOrganizerObject

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

Applies to