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
'宣告
ReadOnly Property IsValid As Boolean
Get
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
- 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.