Partager via


Uri.HostNameType Property

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

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

Syntax

public UriHostNameType HostNameType { get; }

Property Value

A member of the UriHostNameType enumeration.

Version Information

Available in the .NET Micro Framework versions 4.0, 4.1, and 4.2.

See Also

Reference

Uri Class
Uri Members
System Namespace