Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

AccessColumnCollection

OfficeIMO.Access

Namespace
OfficeIMO.Access
Assembly
OfficeIMO.Access
Source revision
0eef6a5756b9 with working tree changes
Implements
IReadOnlyList<AccessColumn> IReadOnlyCollection<AccessColumn> IEnumerable<AccessColumn> IEnumerable
Modifiers
sealed

Field definitions for one table.

Inheritance

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Methods

public AccessColumn Add(string name, AccessDataType type, int? maxLength = null) #

Adds a typed column before rows have been appended. ShortText defaults to 255 characters.

Parameters

name string required
type OfficeIMO.Access.AccessDataType required
maxLength int? = null optional
public AccessColumn AddAutoNumber(string name, int seed = 1) #

Adds a sequential AutoNumber field whose first omitted value is seed. The model retains omission; native creation allocates values.

Parameters

name string required
seed int = 1 optional
public AccessColumn AddDecimal(string name, int precision = 28, int scale = 0) #

Adds a Decimal field with explicit precision and scale. Native saving rejects values requiring rounding.

Parameters

name string required
precision int = 28 optional
scale int = 0 optional