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

2:

bool absolute = u.IsAbsoluteUri;

Notes

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

Links for reference

Copyright © Cooker All rights reserved.