MaskDescriptor.IsValidMaskDescriptor Method (MaskDescriptor)
Returns a value indicating whether the specified mask descriptor is valid and can be added to the masks list.
Assembly: System.Design (in System.Design.dll)
Themethod determines whether maskDescriptor is valid and can be added to the masks list.
A valid MaskDescriptor must meet the following conditions.
Not null or an empty mask.
Not null or an empty name.
Not null or an empty sample.
The sample is correct based on the mask and all required edit characters have been provided. This means the mask is completed but not necessarily full.
The sample is valid based on the ValidatingType object, if any.
Available since 2.0