xtd 0.2.0
Loading...
Searching...
No Matches

◆ is_file()

bool xtd::uri::is_file ( ) const

Gets a value indicating whether the specified xtd::uri is a file URI.

Returns
bool A bool value that is true if the xtd::uri is a file URI; otherwise, false.
Exceptions
xtd::invalid_operation_exceptionThis instance represents a relative URI, and this property is valid only for absolute URIs.
Remarks
The is_file property is true when the scheme property equals uri_scheme_file.