NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataColumn Members

Public:

Constructor

DataColumn Constructor Overloaded. Initializes a new instance of the DataColumn class.

Properties

AllowNull Gets or sets a value indicating whether null values are allowed in this column for rows belonging to the table.
Attribute Gets or sets a value indicating whether the column is an attribute column.
AutoIncrement Gets or sets a value indicating 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.
AutoIncrementSupported Gets a value indicating whether AutoIncrement is supported.
Caption Gets or sets the caption for this column.
ColumnName Gets or sets the name of the column within the ColumnsCollection.
DataType The type of data stored in thecolumn.
DefaultValue Gets or sets the default value for the column when creating new rows.
Expression Gets or sets the expresssion used to either filter rows, calculate the column's value, or create an aggregate column.
ExtendedProperties Gets the collection of custom user information.
Namespace [To be supplied.]
Ordinal Gets the position of the column in the ColumnsCollection collection.
ReadOnly Gets or sets a value indicating whether the column allows changes once a row has been added to the table.
Site (inherited from Component) Gets or sets the site of the Component.
Sparse Gets or sets a value indicating whether the column should store data in a fashion optimized for sparse data patterns.
Table Gets the DataTable to which the column belongs to.
Unique Gets or sets a value indicating whether the values in each row of the column must be unique.

Methods

Dispose (inherited from Component) Disposes of the Component.
Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
FindParentRelation Finds a relation that this column is the sole child of or null.
GetContainer (inherited from Component) Returns the IContainer that contains the Component.
GetDesignMode (inherited from Component) Gets a value indicating whether the Component is currently in design mode.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetServiceObject (inherited from Component) Returns an object representing a service provided by the Component.
GetType (inherited from Object) Gets the Type of the Object.
ResetCaption Resets the Caption property to its previous value, or to a null reference (in Visual Basic Nothing).
ResetNamespace [To be supplied.]
ShouldPersistCaption Gets a value indicating whether the Caption has been explicitly set.
ShouldPersistNamespace [To be supplied.]
ToString Returns the Expression of the column, if one exists.

Events

PropertyChanged Occurs whenever a property value of the DataColumn changes.

Protected:

Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnPropertyChanged Raises the OnPropertyChanged event.
RaisePropertyChanged Raises the OnPropertyChanged event.
VerifyUnique Gets a value verifying whether a value is unique.

Event Hookup:

Methods

AddOnPropertyChanged Adds an event handler for the OnPropertyChanged event.
RemoveOnPropertyChanged Removes the event handler that has been associated with the OnPropertyChanged event.

See Also

DataColumn Class | System.Data Namespace