HTMLProject.RefreshProject Method

Refreshes the specified HTML project in the Microsoft Script Editor.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Sub RefreshProject ( _
    Refresh As Boolean _
)
'Usage
Dim instance As HTMLProject
Dim Refresh As Boolean

instance.RefreshProject(Refresh)
void RefreshProject(
    bool Refresh
)

Parameters

  • Refresh
    Type: System.Boolean

    Optional Boolean. True if the document will be refreshed; False if the document will not be refreshed.

Remarks

Using this method is equivalent to clicking the Refresh button on the Refresh toolbar in the Microsoft Script Editor. If you refresh the document by setting RefreshDocument to True, all changes to the HTML source made in the Office host application are saved to the HTML project in the Microsoft Script Editor. If you set RefreshDocument to False, all changes to the HTML source are ignored.

See Also

Reference

HTMLProject Interface

HTMLProject Members

Microsoft.Office.Core Namespace