WordList.Add Method (String[])
Adds an array of strings containing words to the WordList.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in microsoft.ink.dll)
Syntax
'Declaration
Public Sub Add ( _
words As String() _
)
'Usage
Dim instance As WordList
Dim words As String()
instance.Add(words)
public void Add (
string[] words
)
public:
void Add (
array<String^>^ words
)
public void Add (
String[] words
)
public function Add (
words : String[]
)
Not applicable.
Parameters
- words
An array of strings containing words to be added to the WordList.
Example
This C# example adds words to the WordList object that the RecognizerContext object, theRecognizerContext
, uses.
RecognizerContext theRecognizerContext = new RecognizerContext();
WordList theWordList = new WordList();
string[] words = { "Microsoft", "Tablet", "PC" };
theWordList.Add(words);
theRecognizerContext.WordList = theWordList;
Platforms
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.
Version Information
.NET Framework
Supported in: 3.0