Changes the current bad word to newWord in the text.
Declaration Syntax
C# | C# | Visual Basic | Visual Basic | Visual C++ | Visual C++ | F# | F# |
public void ChangeBadWord( string newWord )
public void ChangeBadWord( string newWord )
Public Sub ChangeBadWord ( newWord As String )
Public Sub ChangeBadWord ( newWord As String )
public: virtual void ChangeBadWord( String^ newWord ) sealed
public: virtual void ChangeBadWord( String^ newWord ) sealed
abstract ChangeBadWord : newWord : string -> unit override ChangeBadWord : newWord : string -> unit
abstract ChangeBadWord : newWord : string -> unit override ChangeBadWord : newWord : string -> unit
Parameters
- newWord (String)
- replaces the current misspelt word.
Return Value
void
Exceptions
Exception | Condition |
---|---|
NoCurrentBadWordException | if nextBadWord() hasn't been run first AND found an erroneous word. |
ArgumentNullException | if newWord parameter is null. |
Assembly: Keyoti.RapidSpell.NET4 (Module: Keyoti.RapidSpell.NET4.dll) Version: 6.2.21.412