Home Cooker Classes Others Rice CookerGX
Classes  >  uri  >  HostNameType
uri class : HostNameType getter

Description

Gets the host name type of the URI.

Syntax

uriInstance.HostNameType

Arguments

None

Return value

ClassDescription
stringThe host name type of the URI.

Sample code

//anyUri is a instance of uri type.

string typeString = anyUri.HostNameType;

Notes

It's a wrapper of the System.Uri.HostNameType.

Links for reference

Copyright © Rice All rights reserved.