ArcFM Responder Mobile Developer Guide
HasColumn Method






The DataTable to search.
The represents name of the column.
Determines if a table contains a column for a given represents.
Syntax
'Declaration
 
Public Shared Function HasColumn( _
   ByVal dataTable As System.Data.DataTable, _
   ByVal columnRepresents As System.String _
) As System.Boolean
'Usage
 
Dim dataTable As System.Data.DataTable
Dim columnRepresents As System.String
Dim value As System.Boolean
 
value = DataSetConfig.HasColumn(dataTable, columnRepresents)
public static System.bool HasColumn( 
   System.Data.DataTable dataTable,
   System.string columnRepresents
)
public function HasColumn( 
    dataTable: System.Data.DataTable;
    columnRepresents: System.String
): System.Boolean; static; 
public static function HasColumn( 
   dataTable : System.Data.DataTable,
   columnRepresents : System.String
) : System.boolean;
public: static System.bool HasColumn( 
   System.Data.DataTable* dataTable,
   System.string* columnRepresents
) 
public:
static System.bool HasColumn( 
   System.Data.DataTable^ dataTable,
   System.String^ columnRepresents
) 

Parameters

dataTable
The DataTable to search.
columnRepresents
The represents name of the column.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DataSetConfig Class
DataSetConfig Members

Send Feedback