Description |
---|
Excerpt |
---|
Sets whether ExcelWriter should remove data markers in the template that do not bind to data sources in code. |
Signature | C# | C# | |
---|---|---|---|
Wiki Markup | |||
{description}
{excerpt}Sets whether ExcelWriter should remove data markers in the template that do not bind to data sources in code. {excerpt}
{signature:C#}
public boolean RemoveExtraDataMarkers{ get; set; }
| |||
Signature | |||
{signature}{signature:vb.net | vb.net | }
Public Property RemoveExtraDataMarkers() As Boolean
| |
Remarks | |||
By {signature} {remarks}By default, if a data marker does not bind to a data source, ExcelWriter will throw an exception. If {{RemoveExtraDataMarkers}} is set to {{true}}, 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 {{RemoveExtraDataMarkers}} is set to {{false. RemoveExtraDataMarkers is a }}. {{RemoveExtraDataMarkers}} is a *Read/Write* property. | |||
Example | |||
Code Block | | csharp | csharp |
title | C# | ||
Code Block | vb.net | title |