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
bool Contains(
   string sourceColumnName
bool Contains(
   String* sourceColumnName
function Contains(
   sourceColumnName : String
) : Boolean;


The case-sensitive name of the source column.

Return Value

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


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

© 2015 Microsoft