Compartir a través de


LanguagePreferences.OnReplaceAllInFilesBegin Method

Called when the Replace All in Files operation has begun.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)

Syntax

'Declaration
Public Overridable Function OnReplaceAllInFilesBegin As Integer
public virtual int OnReplaceAllInFilesBegin()
public:
virtual int OnReplaceAllInFilesBegin()
abstract OnReplaceAllInFilesBegin : unit -> int  
override OnReplaceAllInFilesBegin : unit -> int
public function OnReplaceAllInFilesBegin() : int

Return Value

Type: Int32
S_OK if the method succeeded, otherwise an error code.

Implements

IVsTextManagerEvents2.OnReplaceAllInFilesBegin()

Remarks

This is an implementation of OnReplaceAllInFilesBegin. By default it does nothing and returns S_OK.

.NET Framework Security

See Also

Reference

LanguagePreferences Class

Microsoft.VisualStudio.Package Namespace