Share via


IObjectReader<T> Interface

Definition

Provides a way to read a set of objects.

generic <typename T>
 where T : EnterpriseManagementObjectpublic interface class IObjectReader : Microsoft::EnterpriseManagement::Common::IObjectReaderBase, System::Collections::Generic::IEnumerable<T>
public interface IObjectReader<T> : Microsoft.EnterpriseManagement.Common.IObjectReaderBase, System.Collections.Generic.IEnumerable<T> where T : EnterpriseManagementObject
type IObjectReader<'T (requires 'T :> EnterpriseManagementObject)> = interface
    interface IObjectReaderBase
    interface seq<'T (requires 'T :> EnterpriseManagementObject)>
    interface IEnumerable
Public Interface IObjectReader(Of T)
Implements IEnumerable(Of T), IObjectReaderBase

Type Parameters

T

The type of object the reader is reading.

Implements

Properties

Count

Gets the count of object projection instances that are of the type specified by the generic parameter T.

MaxCount

Gets a count of all object projection instances in the projection reader.

PageSize

Gets or sets the page size of the reader.

Methods

GetData(IList<Guid>)

Gets a list of all instances from the reader that match the list of identifiers.

GetData(Int32)

Gets a specific instance from the reader by index.

GetIndexOf(Guid)

Gets the index of a specific object.

(Inherited from IObjectReaderBase)
GetIndexOf(IList<Guid>)

Gets a list of indexes for the specified object identifiers.

(Inherited from IObjectReaderBase)
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.

Refresh(IList<Guid>, IList<Guid>, IList<Guid>)

Refreshes the reader, and returns the identifiers of the objects that have been added, updated, or deleted.

(Inherited from IObjectReaderBase)

Applies to