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.example.com/aaa/bbb.html");

2:

string scheme = u.Scheme;

Notes

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

Links for reference

Copyright © Cooker All rights reserved.