DocumentTableName Property |
Gets or sets the name of this table used to access the table's data in a template document passed to
DocumentAssembler.
Namespace:
GroupDocs.Assembly.Data
Assembly:
GroupDocs.Assembly (in GroupDocs.Assembly.dll) Version: 22.2
Syntaxpublic string Name { get; set; }
Public Property Name As String
Get
Set
public:
virtual property String^ Name {
String^ get () sealed;
void set (String^ value) sealed;
}
abstract Name : string with get, set
override Name : string with get, set
Property Value
Type:
String
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