Dirty Property

Microsoft Outlook Visual Basic

Returns True if the contents of a custom property page have been altered. The ActiveX control that implements the PropertyPage object sets the value of this property, and Microsoft Outlook queries this in response to the OnStatusChange method of a PropertyPageSite object. Read-only Boolean.

expression.Dirty

expression    Required. An expression that returns a PropertyPage object.

Example

This Visual Basic/Visual Basic for Applications (VBA) example returns the value of the Dirty property as the value of a global variable.

Private Property Get PropertyPage_Dirty() As Boolean
    PropertyPage_Dirty = globDirty
End Property