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.
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
- orderFormName
Type: System..::.String
The name of the OrderForm to retrieve.
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
- 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.