AutoCorrect.ReplacementList[Object] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the array of AutoCorrect replacements.
public:
property System::Object ^ ReplacementList[System::Object ^] { System::Object ^ get(System::Object ^ Index); void set(System::Object ^ Index, System::Object ^ value); };
public object ReplacementList[object Index] { get; set; }
Public Property ReplacementList(Optional Index As Object) As Object
Parameters
- Index
- Object
Optional Object. The row index of the array of AutoCorrect replacements to be returned. The row is returned as a one-dimensional array with two elements: The first element is the text in column 1, and the second element is the text in column 2.
Property Value
Remarks
If Index
is not specified, this method returns a two-dimensional array. Each row in the array contains one replacement, as shown in the following table.
1 | The text to be replaced |
2 | The replacement text |
Use the AddReplacement(String, String) method to add an entry to the replacement list.