Export (0) Print
Expand All
2 out of 3 rated this helpful - Rate this topic

DataColumn Members

DataColumn overview

Public Constructors

public constructorDataColumn Constructor

Supported by the .NET Compact Framework.

Overloaded. Initializes a new instance of the DataColumn class.

Public Properties

public propertyAllowDBNull

Supported by the .NET Compact Framework.

Gets or sets a value indicating whether null values are allowed in this column for rows belonging to the table.
public propertyAutoIncrement

Supported by the .NET Compact Framework.

Gets or sets a value indicating whether the column automatically increments the value of the column for new rows added to the table.
public propertyAutoIncrementSeed

Supported by the .NET Compact Framework.

Gets or sets the starting value for a column that has its AutoIncrement property set to true.
public propertyAutoIncrementStep

Supported by the .NET Compact Framework.

Gets or sets the increment used by a column with its AutoIncrement property set to true.
public propertyCaption

Supported by the .NET Compact Framework.

Gets or sets the caption for the column.
public propertyColumnMapping

Supported by the .NET Compact Framework.

Gets or sets the MappingType of the column.
public propertyColumnName

Supported by the .NET Compact Framework.

Gets or sets the name of the column in the DataColumnCollection.
public propertyContainer (inherited from MarshalByValueComponent) Gets the container for the component.
public propertyDataType

Supported by the .NET Compact Framework.

Gets or sets the type of data stored in the column.
public propertyDefaultValue

Supported by the .NET Compact Framework.

Gets or sets the default value for the column when creating new rows.
public propertyDesignMode (inherited from MarshalByValueComponent) Gets a value indicating whether the component is currently in design mode.
public propertyExpression

Supported by the .NET Compact Framework.

Gets or sets the expression used to filter rows, calculate the values in a column, or create an aggregate column.
public propertyExtendedProperties

Supported by the .NET Compact Framework.

Gets the collection of custom user information associated with a DataColumn.
public propertyMaxLength

Supported by the .NET Compact Framework.

Gets or sets the maximum length of a text column.
public propertyNamespace

Supported by the .NET Compact Framework.

Gets or sets the namespace of the DataColumn.
public propertyOrdinal

Supported by the .NET Compact Framework.

Gets the position of the column in the DataColumnCollection collection.
public propertyPrefix

Supported by the .NET Compact Framework.

Gets or sets an XML prefix that aliases the namespace of the DataTable.
public propertyReadOnly

Supported by the .NET Compact Framework.

Gets or sets a value indicating whether the column allows changes once a row has been added to the table.
public propertySite (inherited from MarshalByValueComponent) Gets or sets the site of the component.
public propertyTable

Supported by the .NET Compact Framework.

Gets the DataTable to which the column belongs to.
public propertyUnique

Supported by the .NET Compact Framework.

Gets or sets a value indicating whether the values in each row of the column must be unique.

Public Methods

public methodDispose (inherited from MarshalByValueComponent) Overloaded. Releases the resources used by the MarshalByValueComponent.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetService (inherited from MarshalByValueComponent) Gets the implementer of the IServiceProvider.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodToString

Supported by the .NET Compact Framework.

Overridden. Gets the Expression of the column, if one exists.

Public Events

public eventDisposed (inherited from MarshalByValueComponent) Adds an event handler to listen to the Disposed event on the component.

Protected Properties

protected propertyEvents (inherited from MarshalByValueComponent) Gets the list of event handlers that are attached to this component.

Protected Methods

protected methodDispose (inherited from MarshalByValueComponent) Overloaded. Releases the resources used by the MarshalByValueComponent.
protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

DataColumn Class | System.Data Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.