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

Description

Gets the host portion of the URI.

Syntax

uriInstance.Host

Arguments

None

Return value

ClassDescription
stringThe host portion of the URI.

Sample code

//anyUri is a instance of uri type.

string hostString = anyUri.Host;

Notes

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

Links for reference

Copyright © Rice All rights reserved.