Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Returns an enumerator that can be used to enumerate over all of the strongly-typed and non-strongly-typed properties exposed by the current order group instance.
Namespace: Microsoft.CommerceServer.Runtime.Orders
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Overridable Function GetEnumerator As IEnumerator
'Usage
Dim instance As OrderGroup
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
An IEnumerator containing properties of the current instance.
Implements
IEnumerable..::.GetEnumerator()()()
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | The order group has been disposed, either directly or by conversion from an OrderTemplate to a Basket or a Basket to a PurchaseOrder. |
Remarks
Use this method to retrieve the enumerator for the OrdrGroup.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.