uri class : uri(string) fitter

Description

Gets a new instance of uri class which is initialized with the specified URI.

Syntax

new uri(string uriString)

Arguments

ClassNameDescription
stringuriStringURI.

Return value

ClassDescription
writerAn uri class instance that is initialized by specified value.

Sample code

1:

uri u = new uri("http://www.example.com/aaa/bbb.html");

Notes

It's a wrapper of the System.Uri.Uri(String) constructor.

Links for reference

Copyright © Cooker All rights reserved.