[]
Represents a special BaseDataValidator class that validates whether the specified value's Type is equal to the RequiredType.
[ToolboxBitmap(typeof(FpSpread), "RequiredTypeValidator.png")]
[TypeConverter(typeof(RequiredTypeValidator.RequiredTypeValidatorTypeConverter))]
public class RequiredTypeValidator : BaseDataValidator, ICloneable, ISerializable, IDeserializationCallback, ISerializeSupport, INamedObject
<ToolboxBitmap(GetType(FpSpread), "RequiredTypeValidator.png")>
<TypeConverter(GetType(RequiredTypeValidator.RequiredTypeValidatorTypeConverter))>
Public Class RequiredTypeValidator
Inherits BaseDataValidator
Implements ICloneable, ISerializable, IDeserializationCallback, ISerializeSupport, INamedObject
Name | Description |
---|---|
RequiredTypeValidator() | Represents the default empty constructor. |
RequiredTypeValidator(SerializationInfo, StreamingContext) | Initializes a new instance of this class. |
Name | Description |
---|---|
FormatProvider | Gets or sets the format provider. |
NullIsValid | Gets or sets whether the validation is always successful when the specified value is null. |
ParsingEnabled | Gets or sets whether to use the Parse method. |
RequiredType | Gets or sets the specified value's required Type. |
Name | Description |
---|---|
Clone(ConditionalObject, FormulaEngine, FormulaEngine) | Creates an exact copy of the current RequiredTypeValidator. |
Deserialize(XmlNodeReader) | Loads the object from XML. |
GetObjectData(SerializationInfo, StreamingContext) | Gets the object data. |
Serialize(XmlTextWriter) | Saves the object to XML. |
Validate(ValidateActionContext) | Validates whether the specified value's Type equals to the RequiredType |