Compartir a través de


OlUserPropertyType Enumeration

Indicates the user property type.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
Public Enumeration OlUserPropertyType
'Usage
Dim instance As OlUserPropertyType
public enum OlUserPropertyType

Members

Member name Description
olOutlookInternal Represents an Outlook internal property type.
olText Represents a String (string in C#) property type. It corresponds to the MAPI type PT_STRING8.
olNumber Represents a Double (double in C#) number property type. It corresponds to the MAPI type PT_LONG.
olDateTime Represents a DateTime property type. It corresponds to the MAPI type PT_SYSTIME.
olYesNo Represents a yes/no (Boolean) property type. It corresponds to the MAPI type PT_BOOLEAN.
olDuration Represents a time duration property type. It corresponds to the MAPI type PT_LONG.
olKeywords Represents a String (string in C#) array property type used to store keywords. It corresponds to the MAPI type PT_MV_STRING8.
olPercent Represents a Double (double in C#) number property type used to store a percentage. It corresponds to the MAPI type PT_LONG.
olCurrency Represents a currency property of the Decimal type (decimal in C#). It corresponds to the MAPI type PT_CURRENCY.
olFormula Represents a formula property type. It corresponds to the MAPI type PT_STRING8. See _UserDefinedProperty.Formula property.
olCombination The property type is a combination of other types. It corresponds to the MAPI type PT_STRING8.
olInteger Represents an Integer number property type. It corresponds to the MAPI type PT_LONG.
olEnumeration Represents an enumeration property type. It corresponds to the MAPI type PT_LONG.
olSmartFrom 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 _ColumnFormat.FieldType, ItemProperty.Type, Type, and UserProperty.Type properties.

See Also

Reference

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Ensure that Custom Item Properties Are Supported in Folder-Level Queries