Share via


IVsTextBufferEx.GetTrackChanges Method

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)

Syntax

'Declaration
Function GetTrackChanges ( _
    <OutAttribute> ByRef pfIsTracking As Integer _
) As Integer
int GetTrackChanges(
    out int pfIsTracking
)
int GetTrackChanges(
    [OutAttribute] int% pfIsTracking
)
abstract GetTrackChanges : 
        pfIsTracking:int byref -> int
function GetTrackChanges(
    pfIsTracking : int
) : int

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.

Remarks

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.

.NET Framework Security

See Also

Reference

IVsTextBufferEx Interface

Microsoft.VisualStudio.TextManager.Interop Namespace