Share via


IVsTextBufferEx.SetTrackChangesSuppression(Int32) Method

Definition

Suppresses change marking in the text buffer.

public:
 int SetTrackChangesSuppression(int fSupress);
public:
 int SetTrackChangesSuppression(int fSupress);
int SetTrackChangesSuppression(int fSupress);
public int SetTrackChangesSuppression (int fSupress);
abstract member SetTrackChangesSuppression : int -> int
Public Function SetTrackChangesSuppression (fSupress As Integer) As Integer

Parameters

fSupress
Int32

[out] Specify non-zero (TRUE) to suppress change tracking; otherwise specify zero (FALSE)

Returns

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

Remarks

Call this method to suppress change marking in the text buffer.

When this method is set to TRUE, further change marking is suppressed (existing change markers, however, are not deleted.)

Use this interface to, for example, change buffer text without adding to the user's change marks.

Call this method with fSupress set to FALSE to allow change marking to resume.

Applies to