Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Contains Method
Collapse the table of content
Expand the table of content

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:
© 2015 Microsoft