Sets the ISpellCheckableTextComponent2 that this GUI will spell check.
| C# | Visual Basic | Visual C++ |
public void SetTextComponentToCheck( ISpellCheckableTextComponent2 textComponent )
Public Sub SetTextComponentToCheck ( _ textComponent As ISpellCheckableTextComponent2 _ )
public: void SetTextComponentToCheck( ISpellCheckableTextComponent2^ textComponent )
- textComponent (ISpellCheckableTextComponent2)
- the ISpellCheckableTextComponent2 that this will spell check.
| Exception | Condition |
|---|---|
| ArgumentNullException | if textComponent parameter is null. |