IsValid Property (Length)
Gets a value indicating whether the
Length is valid.
public bool IsValid {get;}
'Declaration
Public ReadOnly Property IsValid As Boolean
Property Value
A
System.Boolean value.
true
if the
Length is valid; otherwise,
false
.
var length = new Length("10in");
bool isValid = length.IsValid; // true