PositionAffinity Enum

Definition

Describes whether a position in a ITextBuffer that can be thought of as lying between two characters is coupled to the preceding character or the following character.

C++/CX
public enum class PositionAffinity
Inheritance
PositionAffinity

Fields

Name Value Description
Predecessor 0

The position is coupled to with the preceding character.

Successor 1

The position is coupled to the following character.

Remarks

This enumeration is used to disambiguate points in methods such as the following:

Applies to

Produkt Verzie
Visual Studio SDK 2015, 2017, 2019, 2022