Share via


HostNameType Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

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

Syntax

'Declaration
Public ReadOnly Property HostNameType As UriHostNameType
public UriHostNameType HostNameType { get; }
public:
property UriHostNameType HostNameType {
    UriHostNameType get ();
}
member HostNameType : UriHostNameType with get
function get HostNameType () : UriHostNameType

Property Value

Type: System. . :: . .UriHostNameType
A member of the UriHostNameType enumeration.

.NET Framework Security

See Also

Reference

Uri Class

System Namespace