次の方法で共有


IVsTextBufferEx.GetTrackChanges(Int32) Method

Definition

Determines the change tracking status of the text buffer.

public:
 int GetTrackChanges([Runtime::InteropServices::Out] int % pfIsTracking);
int GetTrackChanges([Runtime::InteropServices::Out] int & pfIsTracking);
public int GetTrackChanges (out int pfIsTracking);
abstract member GetTrackChanges : int -> int
Public Function GetTrackChanges (ByRef pfIsTracking As Integer) As Integer

Parameters

pfIsTracking
Int32

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

Returns

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.

Applies to