Export (0) Print
Expand All

Uri.IsFile Property

Gets a value indicating whether the specified Uri is a file URI.

[Visual Basic]
Public ReadOnly Property IsFile As Boolean
[C#]
public bool IsFile {get;}
[C++]
public: __property bool get_IsFile();
[JScript]
public function get IsFile() : Boolean;

Property Value

true if the Uri is a file URI; otherwise, false.

Remarks

The IsFile property is true when the Scheme property equals UriSchemeFile.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

Uri Class | Uri Members | System Namespace

Show:
© 2015 Microsoft