Partager via


UserProperty Members

Include Protected Members
Include Inherited Members

Represents a custom property of an Outlook item.

The UserProperty type exposes the following members.

Properties

  Name Description
Public property Application Returns an Application object that represents the parent Outlook application for the object. Read-only.
Public property Class Returns an OlObjectClass constant indicating the object's class. Read-only.
Public property Formula Returns or sets a String (string in C#) representing the formula for the user property. Read/write.
Public property IsUserProperty This object, member, or enumeration is deprecated and is not intended to be used in your code.
Public property Name Returns a String (string in C#) value that represents the display name for the object. Read-only.
Public property Parent Returns the parent Object of the specified object. Read-only.
Public property Session Returns the NameSpace object for the current session. Read-only.
Public property Type Returns an OlUserPropertyType constant indicating the type of the specified object. Read-only.
Public property ValidationFormula Returns or sets a String (string in C#) indicating the validation formula for the user property. Read/write.
Public property ValidationText Returns or sets a String (string in C#) specifying the validation text for the specified user property. Read/write.
Public property Value Returns or sets an Object indicating the value for the specified custom property. Read/write.

Top

Methods

  Name Description
Public method Delete Deletes an object from the collection.

Top

See Also

Reference

UserProperty Interface

Microsoft.Office.Interop.Outlook Namespace