Partager via


ITextViewLineCollection.IsValid Property

Determines whether this ITextViewLineCollection object is still valid.

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

Syntax

'Déclaration
ReadOnly Property IsValid As Boolean
bool IsValid { get; }
property bool IsValid {
    bool get ();
}
abstract IsValid : bool
function get IsValid () : boolean

Property Value

Type: System.Boolean
true if this ITextViewLineCollection object is still valid, otherwise false.

Remarks

The ITextView will always invalidate the ITextViewLineCollection when performing a layout.

.NET Framework Security

See Also

Reference

ITextViewLineCollection Interface

Microsoft.VisualStudio.Text.Editor Namespace