Item 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 an object of type LanguageScope from the collection. This property is the indexer for the LanguageScopeCollection class.
Syntax
public LanguageScope this[int number] { get; }Default Public ReadOnly Property Item(number As Integer) As LanguageScopeReturn Value
The object of the type LanguageScope at the specified index.
Examples
The following example includes the item value in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Item: {languageScopeCollection[10]}");
Console.WriteLine("Language Scope Collection is ready for use.");Console.WriteLine($"Item: {languageScopeCollection.Item(10)}")
Console.WriteLine("Language Scope Collection is ready for use.")