IAdornmentElement.Affinity Property

Definition

Gets the PositionAffinity of the adornment.

public:
 property Microsoft::VisualStudio::Text::PositionAffinity Affinity { Microsoft::VisualStudio::Text::PositionAffinity get(); };
public:
 property Microsoft::VisualStudio::Text::PositionAffinity Affinity { Microsoft::VisualStudio::Text::PositionAffinity get(); };
public Microsoft.VisualStudio.Text.PositionAffinity Affinity { get; }
member this.Affinity : Microsoft.VisualStudio.Text.PositionAffinity
Public ReadOnly Property Affinity As PositionAffinity

Property Value

The PositionAffinity of the adornment.

Remarks

This is used only when the length of the adornment element span in the source buffer is zero.

Applies to