次の方法で共有


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:

See Also

Reference

Microsoft.VisualStudio.Text Namespace