Dynamicweb 8 Documentation
PropertyProductValue Class
Members  Example 

Provides information about a properties of product value.
Syntax
'Declaration
 
<SerializableAttribute()> 
Public Class PropertyProductValue 
[SerializableAttribute()] 
public class PropertyProductValue 
Example
class MyPage : System.Web.UI.Page
{
    public void DelProductPropertyRelation()
    {
        if ((Session["Ecom.Backend.Product"] != null))
        {
            Product prod = (Product)Session["Ecom.Backend.Product"];
            string typeID = Request.QueryString["typeID"];

            prod.PropertyRelations = null;
            prod.PropertyProductValues = null;

           //Delete the relation from product to type
            PropertyProductRelation.Delete(prod.ID, typeID);

            //Delete all values
            PropertyProductValue.DeleteAllFromType(prod.ID, prod.VariantID, Dynamicweb.eCommerce.Common.Context.LanguageID, typeID);
        }
    }
}
Inheritance Hierarchy

System.Object
   Dynamicweb.eCommerce.Products.PropertyProductValue

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

PropertyProductValue Members
Dynamicweb.eCommerce.Products Namespace

Send Feedback