Freigeben über


LanguagePreferences.OnReplaceAllInFilesBegin Method

Called when the Replace All in Files operation has begun.

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

Syntax

'Declaration
Public Overridable Function OnReplaceAllInFilesBegin As Integer
public virtual int OnReplaceAllInFilesBegin()

Return Value

Type: System.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