HTMLProjectItem Members

Include Protected Members
Include Inherited Members

Represents an individual project item that’s a project item branch in the Project Explorer in the Microsoft Script Editor.

The HTMLProjectItem type exposes the following members.

Properties

  Name Description
Public property Application (Inherited from _IMsoDispObj.)
Public property Application Returns an Application object that represents the container application for the object.
Public property Creator (Inherited from _IMsoDispObj.)
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created.
Public property IsOpen Determines if the specified HTML project item is open in the Microsoft Script Editor.
Public property Name Returns the name of the specified object.
Public property Parent Returns the Parent object for the specified object.
Public property Text Returns or sets the HTML text in the HTML editor.

Top

Methods

  Name Description
Public method LoadFromFile Updates the text in the Microsoft Script Editor with text from the specified file (on disk).
Public method Open 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.
Public method SaveCopyAs Saves the specified HTML project item using a new file name.

Top

See Also

Reference

HTMLProjectItem Interface

Microsoft.Office.Core Namespace