IVsTextBufferEx::GetTrackChanges Method (Int32)

 

Determines the change tracking status of the text buffer.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

int GetTrackChanges(
	[OutAttribute] int% pfIsTracking
)

Parameters

pfIsTracking
Type: System::Int32

[in] If non-zero (TRUE), changes are being tracked in the text buffer; if zero (FALSE), changes are not being tracked.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Call this method to determine if changes are being tracked in the text buffer. If changes are being tracked, this method returns TRUE even if change tracking has been suppressed by a call to SetTrackChangesSuppression.

Return to top
Show: