Name

DocumentTable.Name property

Gets or sets the name of this table used to access the table’s data in a template document passed to DocumentAssembler.

public string Name { get; set; }

Remarks

If the table’s name is read from a document, the name is automatically corrected so that it to be valid. However, if the table’s name is set manually through this property and the name is invalid, an exception is thrown.

The table’s name is considered to be valid, if the following conditions are met:

  • The name is not empty.
  • The name’s first character is a letter or underscore.
  • The rest of the name’s characters are letters, underscores, digits, or the following characters: ‘@’, ‘#’, ‘$’.
  • The corresponding DocumentTableSet object does not contain a DocumentTable instance with the same name.

See Also