TX Text Control .NET Server

Values 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 values the dictionary contains.

Syntax

public ICollection Values { get; }

Examples

The following example enumerates the stored values of all custom document properties.

UserDefinedPropertyDictionary properties = new();
properties.Add("ReviewStatus", "Approved");
properties.Add("Department", "Finance");
foreach (object propertyValue in properties.Values)
{
    Console.WriteLine($"Document property value: {propertyValue}");
}

Limitations

Read only.