IObjectReader<T>.GetRange Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a list of object instances by specifying the starting instance and how many to read.
Overloads
GetRange(Guid, Int32) |
Gets a list of object instances by specifying the starting instance and the amount to read. |
GetRange(Int32, Int32) |
Gets a list of object instances by specifying the starting index and the amount to read. |
GetRange(Guid, Int32)
Gets a list of object instances by specifying the starting instance and the amount to read.
public:
System::Collections::Generic::IList<T> ^ GetRange(Guid id, int count);
public System.Collections.Generic.IList<T> GetRange (Guid id, int count);
abstract member GetRange : Guid * int -> System.Collections.Generic.IList<'T (requires 'T :> Microsoft.EnterpriseManagement.Common.EnterpriseManagementObject)>
Public Function GetRange (id As Guid, count As Integer) As IList(Of T)
Parameters
- id
- Guid
The identifier of the starting object projection instance.
- count
- Int32
The amount of instances to read.
Returns
The list of object instances.
Applies to
GetRange(Int32, Int32)
Gets a list of object instances by specifying the starting index and the amount to read.
public:
System::Collections::Generic::IList<T> ^ GetRange(int index, int count);
public System.Collections.Generic.IList<T> GetRange (int index, int count);
abstract member GetRange : int * int -> System.Collections.Generic.IList<'T (requires 'T :> Microsoft.EnterpriseManagement.Common.EnterpriseManagementObject)>
Public Function GetRange (index As Integer, count As Integer) As IList(Of T)
Parameters
- index
- Int32
The index to start from.
- count
- Int32
The amount of instances to read.
Returns
The list of object instances.