IColumnMappingCollection.Contains(String) Method

Definition

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

public:
 bool Contains(System::String ^ sourceColumnName);
public bool Contains (string sourceColumnName);
abstract member Contains : string -> bool
Public Function Contains (sourceColumnName As String) As Boolean

Parameters

sourceColumnName
String

The case-sensitive name of the source column.

Returns

Boolean

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

Applies to