GetItem Method
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.asTXSpell. WinForms. SDK TXSpell.from the private NuGet feed or Text Control Offline Packagesdll
- Also in
TXTextControl.asTXSpell. Core. SDK TXSpell.dll
Description
Gets a particular dictionary from the collection by using the specified name.
Syntax
public Dictionary GetItem(string name);Public Function GetItem(name As String) As DictionaryParameters
| Parameter | Description |
|---|---|
| name | Specifies a dictionary name. |
Return Value
The return value is null, if a dictionary with the specified name could not be found. Otherwise, it is an object of the type Dictionary.
Examples
The following example retrieves item from the dictionary collection.
var result = dictionaryCollection.GetItem("CustomerName");
Console.WriteLine($"Get Item result: {result}");Dim result = dictionaryCollection.GetItem("CustomerName")
Console.WriteLine($"Get Item result: {result}")