Name Property
- Namespace
TXTextControl.DocumentServer. Fields
- Package
TXTextControl.asTextControl. Core. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXDocumentServer.dll
Description
Gets and sets the name of the field.
Syntax
public string Name { get; set; }Public Property Name As StringExamples
The following example uses MergeField.Name to give the merge field a stable, descriptive name. The configured value is checked before the workflow continues.
mergeField.Name = "MergeField1";
if (!string.IsNullOrWhiteSpace(mergeField.Name))
{
Console.WriteLine($"Name: {mergeField.Name}");
}mergeField.Name = "MergeField1"
If Not String.IsNullOrWhiteSpace(mergeField.Name) Then
Console.WriteLine($"Name: {mergeField.Name}")
End If