PropertyPage.Dirty property (Outlook)

Returns a Boolean value that indicates whether the contents of a custom property page have been altered. Read-only.

Syntax

expression.Dirty (Dirty)

expression A variable that represents a PropertyPage object.

Parameters

Name Required/Optional Data type Description
Dirty Required Boolean True indicates that the contents of a custom property page has been altered.

Remarks

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.

Example

This 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

See also

PropertyPage Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.