Dynamicweb 8 Documentation
IndexOf(Double,String) Method

Locates the Price than has matching Quantity and CurrencyCode and return the collection index of the matching Price object.
Syntax
'Declaration
 
Public Overloads Function IndexOf( _ 
   ByVal dblQuantity As Double, _ 
   ByVal strCurrencyCode As String _ 
) As Integer
public int IndexOf( 
   double dblQuantity,
   string strCurrencyCode 
)

Parameters

dblQuantity
strCurrencyCode

Return Value

Returns index of matching Quantity and CurrencyCode, if not found the function return -1
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PriceCollection Class
PriceCollection Members
Overload List

Send Feedback