Dart.PowerTCP.EmailValidation Namespace > Validator Class : ValidationLevel Property (Validator) |
Gets or sets a value indicating the level to which validations should be performed.
[Visual Basic]
<DescriptionAttribute("Gets or sets a value indicating the level to which validations should be performed.")>
<CategoryAttribute("Behavior")>
<DefaultValueAttribute()>
Public Property ValidationLevel As ValidationLevel
[C#]
[DescriptionAttribute("Gets or sets a value indicating the level to which validations should be performed.")]
[CategoryAttribute("Behavior")]
[DefaultValueAttribute()]
public ValidationLevel ValidationLevel {get; set;}
[C++]
[DescriptionAttribute("Gets or sets a value indicating the level to which validations should be performed.")]
[CategoryAttribute("Behavior")]
[DefaultValueAttribute()]
public: __property ValidationLevel get_ValidationLevel();
public: __property void set_ValidationLevel(
ValidationLevel value
);
[C++/CLI]
[DescriptionAttribute("Gets or sets a value indicating the level to which validations should be performed.")]
[CategoryAttribute("Behavior")]
[DefaultValueAttribute()]
public:
property ValidationLevel ValidationLevel {
ValidationLevel get();
void set (ValidationLevel value);
}
Defaults to ValidationLevel.SmtpConnect.
Exception | Description |
---|---|
InvalidOperationException | ValidationLevel cannot be set to NotValidated. |
Set this value to one of the seven permissable validation levels. For the most robust validation, set to ValidationLevel.SmtpRecipient.
If ValidationLevel is set to ValidationLevel.SmtpRecipient level, MailFrom must be set to something other than a null string.
Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista
Validator Class | Validator Members
Send comments on this topic.
Documentation version 1.0.3.0.
© 2008 Dart Communications. All rights reserved.