DataColumn::AutoIncrementStep Property


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

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

property long long AutoIncrementStep {
	long long get();
	void set(long long value);

Property Value

Type: System::Int64

The number by which the value of the column is automatically incremented. The default is 1.

Exception Condition

The value set is zero.

The following example sets the AutoIncrement, AutoIncrementSeed, and AutoIncrementStep properties.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top