TX Text Control .NET for Windows Forms

AddResult Property

Property|Introduced in 30.0
Namespace
TXTextControl.DocumentServer.DataSources
Package
TXTextControl.TextControl.WinForms.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

Returns whether the new block has successfully been inserted by DataSourceManager.InsertMergeBlock. The default value is SubTextPartCollection.AddResult.Error.

Syntax

public SubTextPartCollection.AddResult AddResult { get; }

Examples

The following example includes the add result value in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Add Result: {mergeBlockSettings.AddResult}");
Console.WriteLine("Merge Block Settings is ready for use.");

Limitations

Read only.