Edytuj

Udostępnij za pośrednictwem


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
[<System.Runtime.InteropServices.Guid("000C0356-0000-0000-C000-000000000046")>]
type HTMLProject = interface
    interface _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

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

Creator

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

HTMLProjectItems

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

Parent

Returns the Parent object for the specified object.

State

Returns the current state of an HTMLProject object.

Methods

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)

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

RefreshProject(Boolean)

Refreshes the specified HTML project in the Microsoft Script Editor.

Applies to