InfoConnect for Airlines
AddToCustomDictionary Method
Example 


The word to add to the dictionary
Adds a word to the active custom dictionary, provided that a custom dictionary is set.
Syntax
'Declaration
 
Sub AddToCustomDictionary( _
   ByVal newWord As String _
) 
'Usage
 
Dim instance As ISpellCheck
Dim newWord As String
 
instance.AddToCustomDictionary(newWord)
void AddToCustomDictionary( 
   string newWord
)

Parameters

newWord
The word to add to the dictionary
Exceptions
ExceptionDescription
System.ArgumentNullException Thrown if the input argument is null (or in Visual Basic is Nothing).
System.ArgumentException Thrown if the input parameter is zero-length (empty).
Remarks
After a word is added, it's no longer recognized as misspelled.

If no custom dictionary is specified, this has no effect.

Example

	
See Also