IColumnMappingCollection::Contains Method (String^)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

bool Contains(
	String^ sourceColumnName
)

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: