다음을 통해 공유


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

See Also

Reference

EditArray Class

EditArray Members

Microsoft.VisualStudio.Package Namespace