See Also

Dns Class  | Dns Members  | Overload List

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

container
The IContainer which contains the object.
See Also Languages PowerTCP Email Validation for .NET

Dns Constructor(IContainer)

Dart.PowerTCP.EmailValidation Namespace > Dns Class > Dns Constructor : Dns Constructor(IContainer)

Initializes a new instance of the Dns class.

[Visual Basic]
Public Function New( _    ByVal container As IContainer _ )
[C#]
public Dns(    IContainer container );
[C++]
public: Dns(    IContainer* container )
[C++/CLI]
public: Dns(    IContainer^ container )

Parameters

container
The IContainer which contains the object.

Remarks

Use this constructor to add the Dns component to the IContainer container.

To create an instance of the Dns component using Visual Studio.NET, simply add the Dns component to the form and the object will automatically be created and initialized. If working out of the Visual Studio.NET environment (or using the Dns component as a reference), the Dns component will have to be explicitly created and initialized.

The following table shows initial property values for an instance of Dns.

Property Initial Value
Dns.Client Empty string
Dns.ClientPort 0
Dns.DoEvents true
Dns.Server Empty string
Dns.ServerPort 53
Dns.Timeout 3000

Requirements

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

See Also

Dns Class  | Dns Members  | Overload List


Send comments on this topic.

Documentation version 1.0.3.0.

© 2008 Dart Communications.  All rights reserved.