次の方法で共有


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

'宣言
Public Overridable Function SuspendFileChangeAdvise ( _
    pszFileName As String, _
    fSuspend As Integer _
) As Integer
'使用
Dim instance As VsTextManagerClass
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

VsTextManagerClass Class

VsTextManagerClass Members

Microsoft.VisualStudio.TextManager.Interop Namespace