IAdornmentElement.Affinity Property
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 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
The PositionAffinity of the adornment.
This is used only when the length of the adornment element span in the source buffer is zero.
Product | Versions |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |