HTMLProjectItem Object Members
Represents an individual project item that's a project item branch in the Project Explorer in the Microsoft Script Editor.
Methods
| Name | Description | |
|---|---|---|
| LoadFromFile | Updates the text in the Microsoft Script Editor with text from the specified file (on disk). |
| 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 listed below. If one of the constants is not specified, the project item is opened in the default view. |
| SaveCopyAs | Saves the specified HTML project item using a new file name. |
Properties
| Name | Description | |
|---|---|---|
| Application | Gets an Application object that represents the container application for the HTMLProjectItem object (you can use this property with an Automation object to return that object's container application). Read-only |
| Creator | Gets a 32-bit integer that indicates the application in which the HTMLProjectItem object was created. Read-only |
| IsOpen | True if the specified HTML project item is open in the Microsoft Script Editor. Read-only. |
| Name | Gets the name of a project item in the Project Explorer in the Microsoft Script Editor. Read-only |
| Parent | Gets the Parent object for the HTMLProjectItem object. Read-only |
| Text | Gets or sets the HTML text in the HTML editor. Read/write |