Partager via


VsTextManagerClass.SuspendFileChangeAdvise Method

Suspends file change notifications for a given file.

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

Syntax

'Déclaration
Public Overridable Function SuspendFileChangeAdvise ( _
    pszFileName As String, _
    fSuspend As Integer _
) As Integer
public virtual int SuspendFileChangeAdvise(
    string pszFileName,
    int fSuspend
)
public:
virtual int SuspendFileChangeAdvise(
    [InAttribute] String^ pszFileName, 
    [InAttribute] int fSuspend
)
abstract SuspendFileChangeAdvise : 
        pszFileName:string * 
        fSuspend:int -> int 
override SuspendFileChangeAdvise : 
        pszFileName:string * 
        fSuspend:int -> int 
public function SuspendFileChangeAdvise(
    pszFileName : String, 
    fSuspend : int
) : int

Parameters

  • pszFileName
    Type: System.String
    [in] File on which to suspend notification of changes made.
  • fSuspend
    Type: System.Int32
    [in] true if change notification is suspended on the specified file name.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsTextManager.SuspendFileChangeAdvise(String, Int32)

.NET Framework Security

See Also

Reference

VsTextManagerClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace