Export (0) Print
Expand All

ProfilePropertyType Enumeration

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Specifies the types available to a profile property.

Namespace:  Microsoft.CommerceServer.Profiles
Assembly:  Microsoft.CommerceServer.Profiles.CrossTierTypes (in Microsoft.CommerceServer.Profiles.CrossTierTypes.dll)

[ComVisibleAttribute(false)]
public enum ProfilePropertyType

Member nameDescription
NumberProperty is an integer.
StringProperty is a string.
TimeProperty is a time field.
SiteTermProperty is a site term.
ProfileProperty references a profile.
PasswordProperty is a password field.
LongTextProperty can contain a large amount of text.
ImageProperty is an image.
FloatProperty is a floating-point number.
DateTimeProperty is a date/time field.
DateProperty is a date field.
CurrencyProperty is a currency type.
BoolProperty is a true/false type.
BinaryProperty contains binary data.

The enumeration values can be:

  • Number - Stores integers. The maximum length of a number property is determined by the data store. Number properties map to number data members.

  • String -Stores up to a maximum of 4,000 characters. String properties map to string data members.

  • Time -Contains values for hour, minute, second, and millisecond. The format used and the maximum length are determined by the data store. Time properties map to date/time data members.

  • SiteTerm - Value used in search is the SiteTerm value, not the name. Site term properties can be single-valued or multi-valued.

  • Single-valued site term properties allow users to select only one value.

  • Multi-valued site term properties allow users to select multiple values.

  • Profile -Value used in search is the profile’s primary key property value.

  • Password - Accepts text, and is treated like a string by the Profiles resource.

  • LongText - Unicode string of length 4000 characters

  • Image -The UI will not support this type – and exception will be thrown by the UI.

  • Float -limit 8,000 bytes

  • DateTime -A composite date and time value. The format used and the maximum length are determined by the data store. Date/time properties map to date/time data members.

  • Date -Contains date values that are in the range of 1/1/1950 to 12/31/2049. The format used and the maximum length are determined by the data store. Date properties map to date/time data members.

  • Currency - Accepts numbers in currency format. The currency format used and the maximum length are determined by data store. Currency properties map to currency data members.

  • Bool - Stores one of two values (true/false, yes/no, or 1/0). Boolean properties map to Boolean data members.

  • Binary -The UI will not support this type – and exception will be thrown by the UI.

Show:
© 2014 Microsoft