Partilhar via


GetEnumerator Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Use this method to return a reference to an enumerator object, which is used to iterate over the InventoryQuantityDeltaCollection object.

Namespace:  Microsoft.CommerceServer.Inventory
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator(Of InventoryQuantityDelta)
'Usage
Dim instance As InventoryQuantityDeltaCollection
Dim returnValue As IEnumerator(Of InventoryQuantityDelta)

returnValue = instance.GetEnumerator()
public IEnumerator<InventoryQuantityDelta> GetEnumerator()
public:
virtual IEnumerator<InventoryQuantityDelta^>^ GetEnumerator() sealed
public final function GetEnumerator() : IEnumerator<InventoryQuantityDelta>

Return Value

Type: System.Collections.Generic..::.IEnumerator<(Of <(InventoryQuantityDelta>)>)
Handle to an IEnumerator interface implementation for this collection. An Enumerator object for the InventoryQuantityDeltaCollection instance.

Implements

IEnumerable<(Of <(T>)>)..::.GetEnumerator()()()

Remarks

Enumerators only allow reading the data in the collection. Enumerators cannot be used to modify the underlying collection.

Permissions

See Also

Reference

InventoryQuantityDeltaCollection Class

InventoryQuantityDeltaCollection Members

Microsoft.CommerceServer.Inventory Namespace