Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the PositionAffinity of the adornment.
Namespace: Microsoft.VisualStudio.Text.Formatting
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Declaration
ReadOnly Property Affinity As PositionAffinity
PositionAffinity Affinity { get; }
property PositionAffinity Affinity {
PositionAffinity get ();
}
abstract Affinity : PositionAffinity
function get Affinity () : PositionAffinity
Property Value
Type: Microsoft.VisualStudio.Text.PositionAffinity
The PositionAffinity of the adornment.
Remarks
This is used only when the length of the adornment element span in the source buffer is zero.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.