| Visual Basic (Declaration) | |
|---|---|
Public Function New( _ ByVal objectReader As ObjectReader(Of T), _ ByVal index As Integer, _ ByVal amount As Integer _ ) | |
| Visual Basic (Usage) | |
|---|---|
| |
| 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.
| Exception | Description |
|---|---|
| IndexOutOfRangeException | Index is lower then zero. |
| ArgumentException | Amount if lower then zero. |
Requirements
Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family