Udostępnij przez


SpanEditHandler.ApplyChange Metoda

Definicja

Przeciążenia

ApplyChange(Span, TextChange)

Ten typ/element członkowski obsługuje infrastrukturę .NET Framework i nie jest przeznaczony do użycia bezpośrednio z kodu. Stosuje zmianę tekstu do zakresu.

ApplyChange(Span, TextChange, Boolean)

Ten typ/element członkowski obsługuje infrastrukturę .NET Framework i nie jest przeznaczony do użycia bezpośrednio z kodu. Stosuje zmianę tekstu do zakresu.

ApplyChange(Span, TextChange)

Ten typ/element członkowski obsługuje infrastrukturę .NET Framework i nie jest przeznaczony do użycia bezpośrednio z kodu. Stosuje zmianę tekstu do zakresu.

public virtual System.Web.Razor.Editor.EditResult ApplyChange(System.Web.Razor.Parser.SyntaxTree.Span target, System.Web.Razor.Text.TextChange change);
abstract member ApplyChange : System.Web.Razor.Parser.SyntaxTree.Span * System.Web.Razor.Text.TextChange -> System.Web.Razor.Editor.EditResult
override this.ApplyChange : System.Web.Razor.Parser.SyntaxTree.Span * System.Web.Razor.Text.TextChange -> System.Web.Razor.Editor.EditResult
Public Overridable Function ApplyChange (target As Span, change As TextChange) As EditResult

Parametry

target
Span

Zakres stosowania zmian.

change
TextChange

Zmiana do zastosowania.

Zwraca

Wynik operacji zastosuj.

Dotyczy

ApplyChange(Span, TextChange, Boolean)

Ten typ/element członkowski obsługuje infrastrukturę .NET Framework i nie jest przeznaczony do użycia bezpośrednio z kodu. Stosuje zmianę tekstu do zakresu.

public virtual System.Web.Razor.Editor.EditResult ApplyChange(System.Web.Razor.Parser.SyntaxTree.Span target, System.Web.Razor.Text.TextChange change, bool force);
abstract member ApplyChange : System.Web.Razor.Parser.SyntaxTree.Span * System.Web.Razor.Text.TextChange * bool -> System.Web.Razor.Editor.EditResult
override this.ApplyChange : System.Web.Razor.Parser.SyntaxTree.Span * System.Web.Razor.Text.TextChange * bool -> System.Web.Razor.Editor.EditResult
Public Overridable Function ApplyChange (target As Span, change As TextChange, force As Boolean) As EditResult

Parametry

target
Span

Zakres stosowania zmian.

change
TextChange

Zmiana do zastosowania.

force
Boolean

wartość true do akceptowania częściowego wyniku; w przeciwnym razie, fałsz.

Zwraca

Wynik operacji zastosuj.

Dotyczy