_Application.OrganizerDelete Method

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

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Sub OrganizerDelete ( _
    Source As String, _
    Name As String, _
    Object As WdOrganizerObject _
)
'Usage
Dim instance As _Application
Dim Source As String
Dim Name As String
Dim Object As WdOrganizerObject

instance.OrganizerDelete(Source, Name, _
    Object)
void OrganizerDelete(
    string Source,
    string Name,
    WdOrganizerObject Object
)

Parameters

  • Source
    Type: System.String
    Required String. The file name of the document or template that contains the item you want to delete.
  • Name
    Type: System.String
    Required String. The name of the style, AutoText entry, toolbar, or macro you want to delete.

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Word Namespace