set_port


Description:

[ Version ( since = "1.6" ) ]
public bool set_port (uint port)

Set or unset the port number for the URI.

Parameters:

this

The Uri to modify.

port

The new port number to set or URI_NO_PORT to unset.

Returns:

true if the port number was set/unset successfully.