英語で読む

次の方法で共有


ITextVersion Interface

Definition

Describes a version of an ITextBuffer. Each application of an ITextEdit to a text buffer generates a new ITextVersion.

C++/CX
public interface class ITextVersion
Derived

Remarks

For more information about text versioning, see the section "A Closer Look at the Text Model and the Text View" in Inside the Editor.

Properties

Changes

Gets the text changes that produce the next version. Returns null if and only if this is the most recent version of its text buffer.

Length

Gets the length in characters of this ITextVersion.

Next

Gets the next ITextVersion. Returns null if and only if this is the most recent version of its text buffer.

ReiteratedVersionNumber

Gets the oldest version number for which all text changes between that version and this version have been canceled out by corresponding undo/redo operations.

TextBuffer

The ITextBuffer to which this ITextVersion applies.

VersionNumber

The version number for this version. It is used for comparisons between versions of the same buffer.

Methods

Applies to

製品 バージョン
Visual Studio SDK 2015, 2017, 2019, 2022