Sdílet prostřednictvím


ITextDocument.UpdateDirtyState(Boolean, DateTime) Method

Definition

Updates the IsDirty and LastContentModifiedTime properties.

public:
 void UpdateDirtyState(bool isDirty, DateTime lastContentModifiedTime);
public void UpdateDirtyState (bool isDirty, DateTime lastContentModifiedTime);
abstract member UpdateDirtyState : bool * DateTime -> unit
Public Sub UpdateDirtyState (isDirty As Boolean, lastContentModifiedTime As DateTime)

Parameters

isDirty
Boolean

The new value for IsDirty.

lastContentModifiedTime
DateTime

The new value for LastContentModifiedTime.

Exceptions

This object has been disposed.

This object is in the middle of raising events.

Applies to