Bagikan melalui


GetEnumerator Method

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

Use this method to retrieve the enumerator for the InventoryCatalogsDataSet..::.InventoryCatalogsDataTable.

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

Syntax

'Declaration
Public Overridable Function GetEnumerator As IEnumerator
'Usage
Dim instance As InventoryCatalogsDataSet..::.InventoryCatalogsDataTable
Dim returnValue As IEnumerator

returnValue = instance.GetEnumerator()
public virtual IEnumerator GetEnumerator()
public:
virtual IEnumerator^ GetEnumerator()
public function GetEnumerator() : IEnumerator

Return Value

Type: System.Collections..::.IEnumerator
Handle to an IEnumerator interface implementation for this collection.

Implements

IEnumerable..::.GetEnumerator()()()

Remarks

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

Permissions

See Also

Reference

InventoryCatalogsDataSet..::.InventoryCatalogsDataTable Class

InventoryCatalogsDataSet..::.InventoryCatalogsDataTable Members

Microsoft.CommerceServer.Inventory Namespace