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