Table of Contents

GetEnumerator

Methods
public static IEnumerator<StorageItem> GetEnumerator(this StorageOperation<StorageObject> loadOperation)

Returns an enumerator that iterates through the items in the storage object returned by the operation.

Parameters
Type Name Description
StorageOperation<StorageObject> loadOperation

A successfully completed operation that returns a storage object.

Returns
Type Description
IEnumerator<StorageItem>

An System.Collections.IEnumerator object that can be used to iterate through the collection.

Exceptions
Type Condition
ArgumentNullException

loadOperation is null.

public static IEnumerator<StorageObject> GetEnumerator(this StorageOperation<StorageObject[]> loadOperation)

Returns an enumerator that iterates through the items in the storage object returned by the operation.

Parameters
Type Name Description
StorageOperation<StorageObject[]> loadOperation

A successfully completed operation that returns a storage object.

Returns
Type Description
IEnumerator<StorageObject>

An System.Collections.IEnumerator object that can be used to iterate through the collection.

Exceptions
Type Condition
ArgumentNullException

loadOperation is null.