Item Property (String)

Gets the OrderForm object from the current collection, based upon the specified name.

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

Syntax

'Declaration
Public ReadOnly Property Item ( _
    orderFormName As String _
) As OrderForm
'Usage
Dim instance As OrderFormCollection
Dim orderFormName As String
Dim value As OrderForm

value = instance.Item(orderFormName)
public OrderForm Item[
    string orderFormName
] { get; }
public:
property OrderForm^ Item[String^ orderFormName] {
    OrderForm^ get (String^ orderFormName);
}
JScript does not support indexed properties.

Parameters

Property Value

Type: Microsoft.CommerceServer.Runtime.Orders..::.OrderForm
The OrderForm of the specified OrderFormCollection. nullNothingnullptra null reference (Nothing in Visual Basic) is returned if no such if no such OrderForm exists.

Exceptions

Exception Condition
ArgumentNullException

orderFormName is nullNothingnullptra null reference (Nothing in Visual Basic).

Remarks

Gets the OrderForm object in the OrderFormCollection with the specified name.

Permissions

See Also

Reference

OrderFormCollection Class

OrderFormCollection Members

Item Overload

Microsoft.CommerceServer.Runtime.Orders Namespace