TX Spell .NET for WPF

GetItem Method

Method|Introduced in 4.0
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WPF.SDK as TXSpell.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TXSpell.Core.SDK as TXSpell.dll

Description

Gets a particular HyphenationList from the collection by using the specified name.

Syntax

public HyphenationList GetItem(string name);

Parameters

ParameterDescription
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}");