Bagikan melalui


Url.IsFile Property

Determines whether the URL represents a file (as opposed to an HTTP location).

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Declaration
Public ReadOnly Property IsFile As Boolean
public bool IsFile { get; }
public:
property bool IsFile {
    bool get ();
}
member IsFile : bool
function get IsFile () : boolean

Property Value

Type: System.Boolean
true if the URL represents a file; otherwise, false.

.NET Framework Security

See Also

Reference

Url Class

Microsoft.VisualStudio.Shell Namespace