共用方式為


UserProperty Members (Outlook)

Represents a custom property of an Outlook item.

Methods

Name

Description

Delete

Deletes an object from the collection.

Properties

Name

Description

Application

Returns an Application object that represents the parent Outlook application for the object. Read-only.

Class

Returns an OlObjectClass constant indicating the object's class. Read-only.

Formula

Returns or sets a String representing the formula for the user property. Read/write.

Name

Returns the display name for the object. Read-only.

Parent

Returns the parent Object of the specified object. Read-only.

Session

Returns the NameSpace object for the current session. Read-only.

Type

Returns an OlUserPropertyType constant indicating the type of the specified object. Read-only.

ValidationFormula

Returns or sets a String indicating the validation formula for the user property. Read/write.

ValidationText

Returns or sets a String specifying the validation text for the specified user property. Read/write.

Value

Returns or sets a Variant indicating the value for the specified custom property. Read/write.