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)
Syntax
'宣告
Public Enumeration PositionAffinity
public enum PositionAffinity
public enum class PositionAffinity
type PositionAffinity
public enum PositionAffinity
Members
Member name | Description | |
---|---|---|
Predecessor | The position is coupled to the preceding character. | |
Successor | The position is coupled to the following character. |
Remarks
This enumeration is used to disambiguate points in methods such as the following: