This document is archived and information here might be outdated. Recommended version. |
Indicates whether edits have been made during the session.
[Visual Basic .NET] Public Function HasEdits ( _ ) As Boolean
[C#] public bool HasEdits ( );
If Not pEditor.HasEdits Then
pEditor.StopEditing False
Else
'
'Code to prompt for Save Changes (Yes/No)
'
End If