See Also

Validator Class  | Validator Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

Language

Visual Basic

C#

C++

C++/CLI

Show All

See Also Languages PowerTCP Email Validation for .NET

ValidationLevel Property

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); }

Return Type

Defaults to ValidationLevel.SmtpConnect.

Exceptions

ExceptionDescription
InvalidOperationExceptionValidationLevel cannot be set to NotValidated.

Remarks

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.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

See Also

Validator Class  | Validator Members


Send comments on this topic.

Documentation version 1.0.3.0.

© 2008 Dart Communications.  All rights reserved.