Udostępnij za pośrednictwem


GetEnumerator Method

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

Returns an enumerator that is used to enumerate over all the weakly-typed properties of the current instance.

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

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator
'Usage
Dim instance As OrderForm
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
An IEnumerator containing the weakly-typed properties of the current instance.

Implements

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

Remarks

Enumeration of strongly typed properties, if needed, can be performed using reflection.

Use this method to retrieve the enumerator for the OrderForm.

Permissions

See Also

Reference

OrderForm Class

OrderForm Members

Microsoft.CommerceServer.Runtime.Orders Namespace