Contains Method

Check whether the dataset contains a datatable with the specified name.

Syntax

Function Contains(tableName) As Boolean

Parameters

tableName

Type: String

The name of the datatable


Return Value


Type: Boolean

True: the dataset contains a datatable with the specified name 

False: the dataset does not contain a datatable with the specified name

Examples

IronPython

#Check existence of datatable



C#

//Check existence of datatable


Remarks