UndoRecord.StartCustomRecord Method

Initiates the creation of a custom undo record.

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

Syntax

'Declaration
Sub StartCustomRecord ( _
    Name As String _
)
'Usage
Dim instance As UndoRecord
Dim Name As String

instance.StartCustomRecord(Name)
void StartCustomRecord(
    string Name
)

Parameters

  • Name
    Type: System.String
    Specifies the name of the custom undo record. This string is limited to 64 characters. If a longer string is supplied, the string is truncated to 64 characters.

Remarks

If the Name parameter is omitted or is an empty string, Word 2010 uses the name of the first command executed as the name of the undo record.

This method begins the creation of a custom undo record, which records all actions done to the application while it is active under a record defined by Name.

See Also

Reference

UndoRecord Interface

UndoRecord Members

Microsoft.Office.Interop.Word Namespace