Themes Property

See Also         Example         Applies To

Returns the collection of themes available for the specified object. Read-only Object.

Remarks

The Themes property as applied to the Application object returns the collection of themes available to be applied. When the Themes property is applied to the Web object, it returns the collection of themes that have been applied to the web. This is the same as the list that appears in the web’s _theme directory. If a theme is applied to a Web object, there will be one theme in the collection. However, if a page in a web has its own theme, separate from the theme that was applied to the web, then the Themes collection for the Web object will have two themes in it—the theme that was originally applied to the web, and the theme that was applied specifically to the page.