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

Description

Gets a value that indicates whether the URI is absolute path.

Syntax

uriInstance.IsAbsoluteUri

Arguments

None.

Return value

ClassDescription
boolA value that indicates whether the URI is absolute path.

Sample code

1:

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

2:

bool absolute = u.IsAbsoluteUri;

Notes

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

Links for reference

Copyright © Rice All rights reserved.