Partager via


Source.ChangeCount Property

Definition

Gets the number of changes made to the source file since it was opened.

public:
 property int ChangeCount { int get(); void set(int value); };
public:
 property int ChangeCount { int get(); void set(int value); };
public int ChangeCount { get; set; }
member this.ChangeCount : int with get, set
Public Property ChangeCount As Integer

Property Value

The number of times the source file was changed.

Remarks

This value is used by the EditArray class to make sure changes are kept in synchronization.

Note

The value returned is incremented when the IsDirty property is set. When the value reaches the maximum possible for an integer (2^31 - 1), it wraps to 0.

Applies to