Partager via


ITextView.ProvisionalTextHighlight Property

Gets the span of text covered by the provisional text highlight.

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

Syntax

'Declaration
Property ProvisionalTextHighlight As ITrackingSpan
ITrackingSpan ProvisionalTextHighlight { get; set; }
property ITrackingSpan^ ProvisionalTextHighlight {
    ITrackingSpan^ get ();
    void set (ITrackingSpan^ value);
}
abstract ProvisionalTextHighlight : ITrackingSpan with get, set
function get ProvisionalTextHighlight () : ITrackingSpan 
function set ProvisionalTextHighlight (value : ITrackingSpan)

Property Value

Type: Microsoft.VisualStudio.Text.ITrackingSpan
The highlighted text span.

Remarks

If there is no provisional text, this method returns nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

ITextView Interface

Microsoft.VisualStudio.Text.Editor Namespace