Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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.