...
Description |
---|
Excerpt |
---|
Sets whether ExcelWriter should remove data markers in the template that do not bind to data sources in code. |
Signature | ||||
---|---|---|---|---|
| ||||
public boolean RemoveExtraDataMarkers{ get; set; }
{signature}{signature: |
Signature | ||||||
---|---|---|---|---|---|---|
| }
| |||||
Public Property RemoveExtraDataMarkers() As Boolean
{signature}
{remarks}By |
Remarks |
---|
By default, if a data marker does not bind to a data source, ExcelWriter will throw an exception. If {{
is set to {{
, ExcelWriter will remove extra data markers silently. If a data marker includes the "Optional" modifier, and does not bind to a data source, ExcelWriter will remove it without error even if {{
is set to {{
.
property. {remarks} {example}{code:csharp|title=C#} |
Example | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|