Export (0) Print
Expand All

IColumnMappingCollection.Contains Method

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

[Visual Basic]
Function Contains( _
   ByVal sourceColumnName As String _
) As Boolean
[C#]
bool Contains(
   string sourceColumnName
);
[C++]
bool Contains(
   String* sourceColumnName
);
[JScript]
function Contains(
   sourceColumnName : String
) : Boolean;

Parameters

sourceColumnName
The case-sensitive name of the source column.

Return Value

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

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

IColumnMappingCollection Interface | IColumnMappingCollection Members | System.Data Namespace

Show:
© 2014 Microsoft