|
|
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Returns true if the column name exists, false otherwise.
Namespace: Smartsite.Runtime.Modules
Assembly: Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)
Syntax
| C# | |
|---|---|
[(Name = "{0}.Columns.Exists")]
public static bool ColumnsExists(
dataTable,
string columnName
) | |
| Visual Basic (Declaration) | |
|---|---|
<(Name := "{0}.Columns.Exists")> _
Public Shared Function ColumnsExists ( _
dataTable As , _
columnName As _
) As | |
Parameters
- dataTable
- SXMLDataTable
The datatable whose columns will be searched.
- columnName
- String
The name of the column you are looking for.
Return Value
Returns true if the column exists, false otherwise.
See Also
DataTableViperModule Class
Smartsite.Runtime.Modules Namespace