OMathAutoCorrectEntries.Add Method
Creates an equation auto correct entry and returns an OMathAutoCorrectEntry object.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Function Add ( _
Name As String, _
Value As String _
) As OMathAutoCorrectEntry
'Usage
Dim instance As OMathAutoCorrectEntries
Dim Name As String
Dim Value As String
Dim returnValue As OMathAutoCorrectEntry
returnValue = instance.Add(Name, Value)
OMathAutoCorrectEntry Add(
string Name,
string Value
)
Parameters
- Name
Type: System.String
Required String The name of the autocorrect entry. Corresponds to the Name property of the OMathAutoCorrectEntry object.
- Value
Type: System.String
Required String The value of the autocorrect entry. Corresponds to the Value property of the OMathAutoCorrectEntry object.
Return Value
Type: Microsoft.Office.Interop.Word.OMathAutoCorrectEntry
OMathAutoCorrectEntry
See Also
Reference
OMathAutoCorrectEntries Interface