共用方式為


Url.IsFile Property

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

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

Syntax

'宣告
Public ReadOnly Property IsFile As Boolean
public bool IsFile { get; }

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