共用方式為


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

See Also

Reference

ITextViewLineCollection Interface

Microsoft.VisualStudio.Text.Editor Namespace