OMathAutoCorrectEntries.Add(String, String) Method

Definition

Creates an equation auto correct entry and returns an OMathAutoCorrectEntry object.

public:
 Microsoft::Office::Interop::Word::OMathAutoCorrectEntry ^ Add(System::String ^ Name, System::String ^ Value);
public Microsoft.Office.Interop.Word.OMathAutoCorrectEntry Add (string Name, string Value);
abstract member Add : string * string -> Microsoft.Office.Interop.Word.OMathAutoCorrectEntry
Public Function Add (Name As String, Value As String) As OMathAutoCorrectEntry

Parameters

Name
String

Required String The name of the autocorrect entry. Corresponds to the Name property of the OMathAutoCorrectEntry object.

Value
String

Required String The value of the autocorrect entry. Corresponds to the Value property of the OMathAutoCorrectEntry object.

Returns

OMathAutoCorrectEntry

Applies to