...
Description |
---|
Excerpt |
---|
Creates a DataBindingProperties object for assigning the property values associated with one or more data binding calls. |
Signature | ||||
---|---|---|---|---|
| ||||
public virtual DataBindingProperties CreateDataBindingProperties()
{signature}
{signature: |
Signature | ||||||
---|---|---|---|---|---|---|
| }
| |||||
Public Overridable Function CreateDataBindingProperties() As DataBindingProperties
{signature}
{exceptions}
{exception:ArgumentNullException}{{CreateDataBindingProperties}} will throw this exception if {{null}} \(C\#\) or {{Nothing}} \ |
Exceptions |
---|
Exception | ||||
---|---|---|---|---|
| ||||
) is passed to the method. {exception} {exception:ArgumentException} {exception} {remarks}A {{DataBindingProperties}} object is required for each data binding call, including these methods: [BindData|ExcelTemplate.BindData], [BindCellData|ExcelTemplate.BindCellData(Object, String, DataBindingProperties)], [BindColumnData|ExcelTemplate.BindColumnData], and [BindRowData|ExcelTemplate.BindRowData]. Hence, [CreateDataBindingProperties|ExcelTemplate.CreateDataBindingProperties()] must be called at least once in any WordTemplate project that binds data to a template. The same {{DataBindingProperties}} object can be used for multiple data binding method calls. {remarks} {example}{code:csharp|title=C#} |
Exception | ||||
---|---|---|---|---|
| ||||
Remarks |
---|
A The same |
Example | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|