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.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
声明
Public Overridable Function OnReplaceAllInFilesBegin As Integer
用法
Dim instance As LanguagePreferences
Dim returnValue As Integer
returnValue = instance.OnReplaceAllInFilesBegin()
public virtual int OnReplaceAllInFilesBegin()
public:
virtual int OnReplaceAllInFilesBegin()
abstract OnReplaceAllInFilesBegin : unit -> int
override OnReplaceAllInFilesBegin : unit -> int
public function OnReplaceAllInFilesBegin() : int
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
- 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.