Delete Method (Properties) Example

This example deletes the SaleText property from the Sales.htm file.

Private Sub DeleteProperty()
Dim myFile As WebFile
Dim myProp As String

Set myFile = ActiveWeb.RootFolder.Files("Sales.htm")
myFile.Properties.Delete ("SaleText")
End Sub