Property | Type | Description | |
---|---|---|---|
AddAt | void | ||
AddColumnsImplementingIChangeTrackingList | void | ||
ArrayAdd | void | ||
ArrayAdd | void | ||
ArrayRemove | void | ||
AssignName | string | ||
BaseAdd | void | ||
BaseGroupSwitch | void | ||
BaseRemove | void | ||
CanRegisterName | bool | ||
CanRemove | bool | ||
CheckIChangeTracking | void | ||
Contains | bool | ||
DataColumnCollection | System.Collections | ||
EnsureAdditionalCapacity | void | ||
FinishInitCollection | void | ||
IndexOfCaseInsensitive | int | ||
MakeName | string | ||
MoveTo | void | ||
OnCollectionChanged | void | ||
OnCollectionChanging | void | ||
OnColumnPropertyChanged | void | ||
RegisterColumnName | void | ||
RemoveColumnsImplementingIChangeTrackingList | void | ||
UnregisterName | void | ||
this |
Method | Description | |
---|---|---|
Add ( ) : |
Creates and adds a
|
|
Add ( string columnName ) : |
Creates and adds a
|
|
Add ( string columnName, |
Creates and adds a
|
|
Add ( string columnName, |
Creates and adds a
|
|
Add ( |
Adds the specified
|
|
AddRange ( |
||
CanRemove ( |
Checks if a given column can be removed from the collection.
|
|
Clear ( ) : void |
Clears the collection of any columns.
|
|
Contains ( string name ) : bool |
Checks whether the collection contains a column with the specified name.
|
|
CopyTo ( |
||
IndexOf ( |
Returns the index of a specified
|
|
IndexOf ( string columnName ) : int |
Returns the index of a column specified by name.
|
|
Remove ( |
Removes the specified
|
|
Remove ( string name ) : void |
Removes the column with the specified name from the collection.
|
|
RemoveAt ( int index ) : void |
Removes the column at the specified index from the collection.
|
|
this ( int index ) : |
Gets the
|
|
this ( string name ) : |
Gets the
|
Method | Description | |
---|---|---|
AddAt ( int index, |
||
AddColumnsImplementingIChangeTrackingList ( |
||
ArrayAdd ( |
Adds the column to the columns array.
|
|
ArrayAdd ( int index, |
||
ArrayRemove ( |
||
AssignName ( ) : string |
Creates a new default name.
|
|
BaseAdd ( |
Does verification on the column and it's name, and points the column at the dataSet that owns this collection. An ArgumentNullException is thrown if this column is null. An ArgumentException is thrown if this column already belongs to this collection, belongs to another collection. A DuplicateNameException is thrown if this collection already has a column with the same name (case insensitive).
|
|
BaseGroupSwitch ( |
BaseGroupSwitch will intelligently remove and add tables from the collection.
|
|
BaseRemove ( |
Does verification on the column and it's name, and clears the column's dataSet pointer. An ArgumentNullException is thrown if this column is null. An ArgumentException is thrown if this column doesn't belong to this collection or if this column is part of a relationship. An ArgumentException is thrown if another column's compute expression depends on this column.
|
|
CanRegisterName ( string name ) : bool | ||
CanRemove ( |
||
CheckIChangeTracking ( |
||
Contains ( string name, bool caseSensitive ) : bool | ||
DataColumnCollection ( |
DataColumnCollection constructor. Used only by DataTable.
|
|
EnsureAdditionalCapacity ( int capacity ) : void | ||
FinishInitCollection ( ) : void | ||
IndexOfCaseInsensitive ( string name ) : int | ||
MakeName ( int index ) : string |
Makes a default name with the given index. e.g. Column1, Column2, ... Columni
|
|
MoveTo ( |
||
OnCollectionChanged ( |
Raises the
|
|
OnCollectionChanging ( |
||
OnColumnPropertyChanged ( |
||
RegisterColumnName ( string name, |
Registers this name as being used in the collection. Will throw an ArgumentException if the name is already being used. Called by Add, All property, and Column.ColumnName property. if the name is equivalent to the next default name to hand out, we increment our defaultNameIndex. NOTE: To add a child table, pass column as null
|
|
RemoveColumnsImplementingIChangeTrackingList ( |
||
UnregisterName ( string name ) : void |
Unregisters this name as no longer being used in the collection. Called by Remove, All property, and Column.ColumnName property. If the name is equivalent to the last proposed default name, we walk backwards to find the next proper default name to use.
|
|
this ( string name, string ns ) : |
public Add ( string columnName ) : |
||
columnName | string | |
return |
public Add ( string columnName, |
||
columnName | string | |
type | ||
return |
public Add ( string columnName, |
||
columnName | string | |
type | ||
expression | string | |
return |
public AddRange ( |
||
columns | ||
return | void |
public CanRemove ( |
||
column | ||
return | bool |
public CopyTo ( |
||
array | ||
index | int | |
return | void |