IntraTextAdornmentTag.Affinity Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the PositionAffinity of the space-negotiating adornment.
public:
property Nullable<Microsoft::VisualStudio::Text::PositionAffinity> Affinity { Nullable<Microsoft::VisualStudio::Text::PositionAffinity> get(); };
public Microsoft.VisualStudio.Text.PositionAffinity? Affinity { get; }
member this.Affinity : Nullable<Microsoft.VisualStudio.Text.PositionAffinity>
Public ReadOnly Property Affinity As Nullable(Of PositionAffinity)
Property Value
The PositionAffinity.
Remarks
Should be non-null for tags with zero length spans (at the edit buffer level of the view's buffer graph) and only for those tags.