VsTextManagerClass::SuspendFileChangeAdvise Method (String^, Int32)

 

Suspends file change notifications for a given file.

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

public:
virtual int SuspendFileChangeAdvise(
	String^ pszFileName,
	int fSuspend
)

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.

Return to top
Show: