IColumnMappingCollection.Contains Method (String)

 

Gets a value indicating whether the DataColumnMappingCollection contains a DataColumnMapping object with the specified source column name.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

Function Contains (
	sourceColumnName As String
) As Boolean

Parameters

sourceColumnName
Type: System.String

The case-sensitive name of the source column.

Return Value

Type: System.Boolean

true if a DataColumnMapping object with the specified source column name exists, otherwise false.

.NET Framework
Available since 1.1
Return to top
Show: