HTMLProject Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기