共用方式為


AutoFormatRules Members (Outlook)

Represents the collection of AutoFormatRule objects in a view.

Methods

Name

Description

Add

Creates a new AutoFormatRule object and appends it to the AutoFormatRules collection.

Insert

Creates a new AutoFormatRule object and inserts it at the specified index within the AutoFormatRules collection.

Item

Returns an AutoFormatRule object from the collection.

Remove

Removes an object from the collection.

RemoveAll

Removes all custom formatting rules from the AutoFormatRules collection.

Save

Save all changes to AutoFormatRule objects within the AutoFormatRules 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.

Count

Returns a Long value indicating the count of AutoFormatRule objects in the specified collection. Read-only.

Parent

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

Session

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