Dynamicweb 8 Documentation
PropertyFieldOption Class
Members  Example 

Represents information about properties of field option.
Syntax
'Declaration
 
<SerializableAttribute()> 
Public Class PropertyFieldOption 
[SerializableAttribute()] 
public class PropertyFieldOption 
Example
class MyPage : System.Web.UI.Page
{
    public void RenderGroupFieldGroups(Dynamicweb.eCommerce.Products.PropertyGroup propertyGroup)
    {
        foreach (PropertyField propertyField in propertyGroup.PropertyFields)
        {
            if (propertyField.PropertyFieldOptions.Count > 0)
            {
                PropertyFieldOptionCollection propOtions = new PropertyFieldOptionCollection();

                foreach (PropertyFieldOption fieldOption in propertyField.PropertyFieldOptions)
                {
                    if (!propOtions.Contains(fieldOption))
                    {
                        propOtions.Add(fieldOption);
                    }
                }
            }
        }
    }
}
Inheritance Hierarchy

System.Object
   Dynamicweb.eCommerce.Products.PropertyFieldOption

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

PropertyFieldOption Members
Dynamicweb.eCommerce.Products Namespace

Send Feedback