Dynamicweb 8 Documentation
returnPriceLine Method
Example 

The params.
The currency.
Returns the price line.
Syntax
'Declaration
 
Public Function returnPriceLine( _ 
   ByVal Params As Hashtable, _ 
   ByVal currency As String _ 
) As Price
public Price returnPriceLine( 
   Hashtable Params,
   string currency 
)

Parameters

Params
The params.
currency
The currency.
Example
class MyPage : System.Web.UI.Page
{
   private Price price;
 
   public Price DoSave(Hashtable params)
   {
       price = Price.returnPriceLine(params, "");
       Price p = new Price();
       p = price.Clone();
       p.Save(p.ID, p.ProductID, "");
       return p;
   }
}
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

PriceMatrix Class
PriceMatrix Members

Send Feedback