다음을 통해 공유


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)

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public Enumeration ProfilePropertyType
'Usage
Dim instance As ProfilePropertyType
[ComVisibleAttribute(false)]
public enum ProfilePropertyType
[ComVisibleAttribute(false)]
public enum class ProfilePropertyType
public enum ProfilePropertyType

Members

Member name Description
Number Property is an integer.
String Property is a string.
Time Property is a time field.
SiteTerm Property is a site term.
Profile Property references a profile.
Password Property is a password field.
LongText Property can contain a large amount of text.
Image Property is an image.
Float Property is a floating-point number.
DateTime Property is a date/time field.
Date Property is a date field.
Currency Property is a currency type.
Bool Property is a true/false type.
Binary Property contains binary data.

Remarks

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.

See Also

Reference

Microsoft.CommerceServer.Profiles Namespace