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