Aliases Property
Collapse the table of content
Expand the table of content

IPHostEntry.Aliases Property

Gets or sets a list of aliases associated with a host.

[Visual Basic]
Public Property Aliases As String ()
[C#]
public string[] Aliases {get; set;}
[C++]
public: __property String* get_Aliases();
public: __property void set_Aliases(String* __gc[]);
[JScript]
public function get Aliases() : String[];
public function set Aliases(String[]);

Property Value

An array of strings containing DNS names that resolve to the IP addresses in the AddressList property.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

IPHostEntry Class | IPHostEntry Members | System.Net Namespace

Show:
© 2016 Microsoft