PositionAffinity Enumeration

 

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.

Namespace:   Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

public enum PositionAffinity

Member nameDescription
Predecessor

The position is coupled to the preceding character.

Successor

The position is coupled to the following character.

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

Return to top
Show: