The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft