Specifies whether the connected field of property is an auto number field in
the storage.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property AutoNumber As Boolean |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As FieldAttribute
Dim value As Boolean
instance.AutoNumber = value
value = instance.AutoNumber
|
| C# | |
|---|
public bool AutoNumber {get; set;} |
| Managed Extensions for C++ | |
|---|
public: __property bool get_AutoNumber();
public: __property void set_AutoNumber(
bool value
); |
| C++/CLI | |
|---|
public:
property bool AutoNumber {
bool get();
void set (bool value);
} |
Return Value
Returns true if the connected field is an auto number field.
Remarks
Requirements
Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family
See Also