Chili.Opf3 Send comments on this topic.
AutoNumberItem Constructor(FieldAttribute,Object)
See Also 
Chili.Opf3.Query Namespace > AutoNumberItem Class > AutoNumberItem Constructor : AutoNumberItem Constructor(FieldAttribute,Object)




field
The field that is marked as auto number in the persistent object.
value
The value for the auto number field. If the value for the autonumber is created during creation of the insert statement this value is set.
Creates a new instance of the AutoNumberItem Class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal field As FieldAttribute, _
   ByVal value As Object _
)
Visual Basic (Usage)Copy Code
Dim field As FieldAttribute
Dim value As Object
 
Dim instance As AutoNumberItem(field, value)
C# 
public AutoNumberItem( 
   FieldAttribute field,
   object value
)
Managed Extensions for C++ 
public: AutoNumberItem( 
   FieldAttribute* field,
   Object* value
)
C++/CLI 
public:
AutoNumberItem( 
   FieldAttribute^ field,
   Object^ value
)

Parameters

field
The field that is marked as auto number in the persistent object.
value
The value for the auto number field. If the value for the autonumber is created during creation of the insert statement this value is set.

Requirements

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

See Also