TX Text Control .NET Server

Names Property

Property|Introduced in 24.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.dll

Description

Gets a collection of all property names the dictionary contains.

Syntax

public ICollection Names { get; }

Examples

The following example enumerates the names of all custom document properties.

UserDefinedPropertyDictionary properties = new();
properties.Add("ReviewStatus", "Approved");
properties.Add("Department", "Finance");
foreach (string name in properties.Names)
{
    Console.WriteLine($"Document property: {name}");
}

Limitations

Read only.