編輯

共用方式為


OlUserPropertyType Enum

Definition

Indicates the user property type.

public enum class OlUserPropertyType
public enum OlUserPropertyType
Public Enum OlUserPropertyType
Inheritance
OlUserPropertyType

Fields

Name Value Description
olOutlookInternal 0

Represents an Outlook internal property type.

olText 1

Represents a String (string in C#) property type. It corresponds to the MAPI type PT_STRING8.

olNumber 3

Represents a Double (double in C#) number property type. It corresponds to the MAPI type PT_LONG.

olDateTime 5

Represents a DateTime property type. It corresponds to the MAPI type PT_SYSTIME.

olYesNo 6

Represents a yes/no (Boolean) property type. It corresponds to the MAPI type PT_BOOLEAN.

olDuration 7

Represents a time duration property type. It corresponds to the MAPI type PT_LONG.

olKeywords 11

Represents a String (string in C#) array property type used to store keywords. It corresponds to the MAPI type PT_MV_STRING8.

olPercent 12

Represents a Double (double in C#) number property type used to store a percentage. It corresponds to the MAPI type PT_LONG.

olCurrency 14

Represents a currency property of the Decimal type (decimal in C#). It corresponds to the MAPI type PT_CURRENCY.

olFormula 18

Represents a formula property type. It corresponds to the MAPI type PT_STRING8. See Formula property.

olCombination 19

The property type is a combination of other types. It corresponds to the MAPI type PT_STRING8.

olInteger 20

Represents an Integer number property type. It corresponds to the MAPI type PT_LONG.

olEnumeration 21

Represents an enumeration property type. It corresponds to the MAPI type PT_LONG.

olSmartFrom 22

Represents a smart from property type. This property indicates that if the From property of an Outlook item is empty, then the To property should be used instead.

Remarks

Used by the Add(String, OlUserPropertyType, Object, Object), Add(String, OlUserPropertyType, Object, Object), and Add(String, OlUserPropertyType, Object, Object) methods, and FieldType, Type, Type, and Type properties.

Applies to