다음을 통해 공유


SpaceNegotiatingAdornmentTag.Affinity Property

Gets the PositionAffinity of the space-negotiating adornment.

Namespace:  Microsoft.VisualStudio.Text.Tagging
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

‘선언
Public Property Affinity As PositionAffinity
public PositionAffinity Affinity { get; private set; }
public:
property PositionAffinity Affinity {
    PositionAffinity get ();
    private: void set (PositionAffinity value);
}
member Affinity : PositionAffinity with get, private set
function get Affinity () : PositionAffinity
private function set Affinity (value : PositionAffinity)

Property Value

Type: Microsoft.VisualStudio.Text.PositionAffinity
The PositionAffinity of the space-negotiating adornment.

Remarks

This property is not used for adornments that replace text. An adornment does not replace text if its tag has a zero-length span on the view's text buffer.

.NET Framework Security

See Also

Reference

SpaceNegotiatingAdornmentTag Class

Microsoft.VisualStudio.Text.Tagging Namespace