IntraTextAdornmentTag.Affinity Property
Gets the PositionAffinity of the space-negotiating adornment.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'Declaração
Public Property Affinity As Nullable(Of PositionAffinity)
public Nullable<PositionAffinity> Affinity { get; private set; }
public:
property Nullable<PositionAffinity> Affinity {
Nullable<PositionAffinity> get ();
private: void set (Nullable<PositionAffinity> value);
}
member Affinity : Nullable<PositionAffinity> with get, private set
function get Affinity () : Nullable<PositionAffinity>
private function set Affinity (value : Nullable<PositionAffinity>)
Property Value
Type: System.Nullable<PositionAffinity>
The PositionAffinity.
Remarks
Should be non-nulla null reference (Nothing in Visual Basic) for tags that have zero-length spans (at the edit-buffer level of the buffer graph of the view) and only for those tags.
.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.