Compartir a través de


Url.IsFile Property

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

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Declaración
Public ReadOnly Property IsFile As Boolean
    Get
'Uso
Dim instance As Url
Dim value As Boolean

value = instance.IsFile
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

Url Members

Microsoft.VisualStudio.Shell Namespace