Edit

Share via


AutoCorrect.ReplacementList[Object] Property

Definition

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.

1The text to be replaced
2The replacement text

Use the AddReplacement(String, String) method to add an entry to the replacement list.

Applies to