共用方式為


GetEnumerator Method

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

Use this method to retrieve the enumerator that can be used to enumerate the rows collection in the RegionCodeDataSet..::.CountryCodesDataTable.

Namespace:  Microsoft.CommerceServer.Orders
Assembly:  Microsoft.CommerceServer.Orders.CrossTierTypes (in Microsoft.CommerceServer.Orders.CrossTierTypes.dll)

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator
'Usage
Dim instance As RegionCodeDataSet..::.CountryCodesDataTable
Dim returnValue As IEnumerator

returnValue = instance.GetEnumerator()
public IEnumerator GetEnumerator()
public:
virtual IEnumerator^ GetEnumerator() sealed
public final 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

RegionCodeDataSet..::.CountryCodesDataTable Class

RegionCodeDataSet..::.CountryCodesDataTable Members

Microsoft.CommerceServer.Orders Namespace