Chili.Opf3 Send comments on this topic.
AutoNumber Property
See Also 
Chili.Opf3 Namespace > FieldAttribute Class : AutoNumber Property




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

Auto number fields are used by a storage to create unique keys for objects in the storage.

Attention: Currently auto numbers are only supported for AccessStorage and MsSqlStorage.

Requirements

Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family

See Also