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

Description

Gets the port number of the URI.

Syntax

uriInstance.Port

Arguments

None

Return value

ClassDescription
intThe port number of the URI.

Sample code

//anyUri is a instance of uri type.

int portNumber = anyUri.Port;

Notes

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

Links for reference

Copyright © Rice All rights reserved.