HTMLProject HTMLProject HTMLProject Interface

Definition

Represents a top-level project branch, as in the Project Explorer in the Microsoft Script Editor.

public interface class HTMLProject : Microsoft::Office::Core::_IMsoDispObj
[System.Runtime.InteropServices.Guid("000C0356-0000-0000-C000-000000000046")]
public interface HTMLProject : Microsoft.Office.Core._IMsoDispObj
Public Interface HTMLProject
Implements _IMsoDispObj
Attributes
Implements

Remarks

Use the Open(MsoHTMLProjectOpen) method of the HTMLProject object to open an HTML project in the Microsoft Script Editor. The project is opened in source view or text view for the active Microsoft Word document, Excel workbook, or PowerPoint presentation.

Use the HTMLProjectItems property to return the collection of HTMLProjectItem objects in the HTML project. Use the RefreshDocument(Boolean) method to refresh the HTML document in the host application. Use the RefreshProject(Boolean) method to refresh the project in the Microsoft Script Editor. Use the State method to determine whether the HTML project needs to be refreshed.

Properties

Application Application Application

Returns an Application object that represents the container application for the object.

Creator Creator Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

HTMLProjectItems HTMLProjectItems HTMLProjectItems

Returns the HTMLProjectItems collection that is included in the specified HTML project.

Parent Parent Parent

Returns the Parent object for the specified object.

State State State

Returns the current state of an HTMLProject object.

Methods

Open(MsoHTMLProjectOpen) Open(MsoHTMLProjectOpen) Open(MsoHTMLProjectOpen)

Opens the specified HTML project or HTML project item in the Microsoft Script Editor in one of the views specified by the optional MsoHTMLProjectOpen constants.

RefreshDocument(Boolean) RefreshDocument(Boolean) RefreshDocument(Boolean)

Refreshes the specified HTML project in the Microsoft Office host application.

RefreshProject(Boolean) RefreshProject(Boolean) RefreshProject(Boolean)

Refreshes the specified HTML project in the Microsoft Script Editor.

Applies to