IVsTextBufferEx.SetTrackChangesSuppression Method
Suppresses change marking in the text buffer.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
‘선언
Function SetTrackChangesSuppression ( _
fSupress As Integer _
) As Integer
‘사용 방법
Dim instance As IVsTextBufferEx
Dim fSupress As Integer
Dim returnValue As Integer
returnValue = instance.SetTrackChangesSuppression(fSupress)
int SetTrackChangesSuppression(
int fSupress
)
int SetTrackChangesSuppression(
[InAttribute] int fSupress
)
abstract SetTrackChangesSuppression :
fSupress:int -> int
function SetTrackChangesSuppression(
fSupress : int
) : int
Parameters
- fSupress
Type: System.Int32
[out] Specify non-zero (TRUE) to suppress change tracking; otherwise specify zero (FALSE)
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 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.