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.
Returns the zero based index of the OrderGroup, specified by the identifier.
Namespace: Microsoft.CommerceServer.Runtime.Orders
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Function IndexOf ( _
orderGroupId As Guid _
) As Integer
'Usage
Dim instance As OrderGroupCollection
Dim orderGroupId As Guid
Dim returnValue As Integer
returnValue = instance.IndexOf(orderGroupId)
public int IndexOf(
Guid orderGroupId
)
public:
int IndexOf(
Guid orderGroupId
)
public function IndexOf(
orderGroupId : Guid
) : int
Parameters
- orderGroupId
Type: System..::.Guid
The identifier of the OrderGroup to find.
Return Value
Type: System..::.Int32
Te zero based index of the OrderGroup, specified by the identifier.
Remarks
Searches for the specified OrderGroup and returns the zero-based index of the first occurrence within the entire OrderGroupCollection. Returns -1 if the specified object is not found.
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.