Source::ChangeCount Property

 

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

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
property int ChangeCount {
	int get();
	void set(int value);
}

Property Value

Type: System::Int32

The number of times the source file was changed.

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

System_CAPS_noteNote

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.

Return to top
Show: