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
'Declaration
ReadOnly Property IsValid As Boolean
bool IsValid { get; }
property bool IsValid {
bool get ();
}
abstract IsValid : bool with get
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
- 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.