Uri.UriSchemeFile Field

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Specifies that the URI is a pointer to a file. This field is read-only.

Namespace:   System
Assembly:  System (in System.dll)

static val UriSchemeFile : string

Field Value

Type: System.String

In .NET Framework version 1.1, a "file:///path" URI was translated to "file:/path". This has been corrected for version 2.0.

The following example creates a Uri instance and determines whether the scheme is UriSchemeFile.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: