Dela via


Url.IsFile Property

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

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

Syntax

'Declaration
Public ReadOnly Property IsFile As Boolean
'Usage
Dim instance As Url 
Dim value As Boolean 

value = instance.IsFile
public bool IsFile { get; }
public:
property bool IsFile {
    bool get ();
}
public 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

Url Members

Microsoft.VisualStudio.Shell Namespace