ApplyChanges Method

Microsoft FrontPage Visual Basic

Apply changes to the specified object. Changes to a property of a WebEx, WebFile, or WebFolder object are not applied until you use the ApplyChanges method for the specified object.

expression.ApplyChanges

expression    An expression that returns a Properties collection object.

Example

This example changes the value of the vti_title property for a file called Zinfandel.htm and applies the change.

Private Sub ChangeProperties()
    Dim myProperties As Properties

    Set myProperties = _
        ActiveWeb.RootFolder.Files("Zinfandel.htm").Properties
    myProperties("vti_title") = "Rogue Cellars Wine List"
    myProperties.ApplyChanges
End Sub