Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Uri.IsUnc Property

Gets a value indicating whether the specified Uri is a universal naming convention (UNC) path.

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

Property Value

true if the Uri is a UNC path; otherwise, false.

Remarks

The IsUnc property is true if the specified Uri instance is a UNC path (such as \\server\folder).

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

See Also

Uri Class | Uri Members | System Namespace

Show:
© 2015 Microsoft