Home Notices Documents Classes Download Others Rice
Classes  >  uri  >  Scheme
uri class : Scheme getter

Description

Gets the scheme name of the URI.

Syntax

uriInstance.Scheme

Arguments

None.

Return value

ClassDescription
stringThe scheme name of the URI.

Sample code

1:

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

2:

string scheme = u.Scheme;

Notes

It's a wrapper of the System.Uri.Scheme property.

Links for reference

Copyright © Rice All rights reserved.