VsTextPackageClass.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

'宣告
Public Overridable Function SuspendFileChangeAdvise ( _
    pszFileName As String, _
    fSuspend As Integer _
) As Integer
'用途
Dim instance As VsTextPackageClass
Dim pszFileName As String
Dim fSuspend As Integer
Dim returnValue As Integer

returnValue = instance.SuspendFileChangeAdvise(pszFileName, _
    fSuspend)
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

Implements

IVsTextManager.SuspendFileChangeAdvise(String, Int32)

.NET Framework Security

See Also

Reference

VsTextPackageClass Class

VsTextPackageClass Members

Microsoft.VisualStudio.TextManager.Interop Namespace