Chili.Opf3 Send comments on this topic.
ObjectSet Constructor(Generic ObjectReader,Int32,Int32)
See Also 
Chili.Opf3 Namespace > Generic ObjectSet Class > ObjectSet Constructor : ObjectSet Constructor(Generic ObjectReader,Int32,Int32)




objectReader
ObjectReader that is used to populate the ObjectSet.
index
Index where to start with populating.
amount
Amount of objects that are populated.
Creates a new instance of the ObjectSet Class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal objectReader As ObjectReader(Of T), _
   ByVal index As Integer, _
   ByVal amount As Integer _
)
Visual Basic (Usage)Copy Code
Dim objectReader As ObjectReader(Of T)
Dim index As Integer
Dim amount As Integer
 
Dim instance As ObjectSet(Of T)(objectReader, index, amount)
C# 
public Generic ObjectSet( 
   ObjectReader<T> objectReader,
   int index,
   int amount
)
Managed Extensions for C++ 
public: Generic ObjectSet( 
   ObjectReader<T>* objectReader,
   int index,
   int amount
)
C++/CLI 
public:
Generic ObjectSet( 
   ObjectReader<T>^ objectReader,
   int index,
   int amount
)

Parameters

objectReader
ObjectReader that is used to populate the ObjectSet.
index
Index where to start with populating.
amount
Amount of objects that are populated.

Exceptions

ExceptionDescription
IndexOutOfRangeExceptionIndex is lower then zero.
ArgumentExceptionAmount if lower then zero.

Requirements

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

See Also