uri class : Scheme getter
Description
Gets the scheme name of the URI.
Syntax
uriInstance.Scheme
Arguments
None.
Return value
Class | Description |
string | The 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.