EditArray.ApplyEdits Method
Applies all edit operations that have been accumulated.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
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)
Syntax
'宣言
Public Sub ApplyEdits
'使用
Dim instance As EditArray
instance.ApplyEdits()
public void ApplyEdits()
public:
void ApplyEdits()
member ApplyEdits : unit -> unit
public function ApplyEdits()
Remarks
Depending on whether an IVsTextView object is available, this method instantiates a CompoundViewAction or CompoundAction class. This method then updates the selection span based on the edit operations, optionally merges the edit operations where possible, and finally applies each edit operation in reverse order to the Source object.
.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.