DataColumn Members
.NET Framework 3.0
Represents the schema of a column in a DataTable.
The following tables list the members exposed by the DataColumn type.
(see also
Protected Properties
)
Top
| Name | Description | |
|---|---|---|
| AllowDBNull | Gets or sets a value that indicates whether null values are allowed in this column for rows that belong to the table. |
| AutoIncrement | Gets or sets a value that indicates whether the column automatically increments the value of the column for new rows added to the table. |
| AutoIncrementSeed | Gets or sets the starting value for a column that has its AutoIncrement property set to true. |
| AutoIncrementStep | Gets or sets the increment used by a column with its AutoIncrement property set to true. |
| Caption | Gets or sets the caption for the column. |
| ColumnMapping | Gets or sets the MappingType of the column. |
| ColumnName | Gets or sets the name of the column in the DataColumnCollection. |
| Container | Gets the container for the component.(inherited from MarshalByValueComponent) |
| DataType | Gets or sets the type of data stored in the column. |
| DateTimeMode | Gets or sets the DateTimeMode for the column. |
| DefaultValue | Gets or sets the default value for the column when you are creating new rows. |
| DesignMode | Gets a value indicating whether the component is currently in design mode.(inherited from MarshalByValueComponent) |
| Expression | Gets or sets the expression used to filter rows, calculate the values in a column, or create an aggregate column. |
| ExtendedProperties | Gets the collection of custom user information associated with a DataColumn. |
| MaxLength | Gets or sets the maximum length of a text column. |
| Namespace | Gets or sets the namespace of the DataColumn. |
| Ordinal | Gets the position of the column in the DataColumnCollection collection. |
| Prefix | Gets or sets an XML prefix that aliases the namespace of the DataTable. |
| ReadOnly | Gets or sets a value that indicates whether the column allows for changes as soon as a row has been added to the table. |
| Site | Gets or sets the site of the component.(inherited from MarshalByValueComponent) |
| Table | Gets the DataTable to which the column belongs to. |
| Unique | Gets or sets a value that indicates whether the values in each row of the column must be unique. |
| Name | Description | |
|---|---|---|
| Events | Gets the list of event handlers that are attached to this component.(inherited from MarshalByValueComponent) |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Dispose | Overloaded. Releases the resources used by the MarshalByValueComponent. (inherited from MarshalByValueComponent) |
| Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) |
| GetHashCode | Serves as a hash function for a particular type. (inherited from Object) |
| GetService | Gets the implementer of the IServiceProvider. (inherited from MarshalByValueComponent) |
| GetType | Gets the Type of the current instance. (inherited from Object) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| SetOrdinal | Changes the ordinal or position of the DataColumn to the specified ordinal or position. |
| ToString | Overridden. Gets the Expression of the column, if one exists. |
| Name | Description | |
|---|---|---|
| CheckNotAllowNull | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
| CheckUnique | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
| Dispose | Overloaded. Releases the resources used by the MarshalByValueComponent. (inherited from MarshalByValueComponent) |
| Finalize | [To be supplied.] (inherited from MarshalByValueComponent) |
| MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |
| OnPropertyChanging | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
| RaisePropertyChanging | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
| Name | Description | |
|---|---|---|
| Disposed | Adds an event handler to listen to the Disposed event on the component.(inherited from MarshalByValueComponent) |