This documentation is archived and is not being maintained.

Uri.HostNameType Property

Returns the type of the host name specified in the URI.

[Visual Basic]
Public ReadOnly Property HostNameType As UriHostNameType
public UriHostNameType HostNameType {get;}
public: __property UriHostNameType get_HostNameType();
public function get HostNameType() : UriHostNameType;

Property Value

A member of the UriHostNameType enumeration.


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

Uri Class | Uri Members | System Namespace