Url.IsFile 属性

定义

确定 URL 是否表示与 HTTP location) 相对的文件 (。

public:
 property bool IsFile { bool get(); };
public:
 property bool IsFile { bool get(); };
public bool IsFile { get; }
member this.IsFile : bool
Public ReadOnly Property IsFile As Boolean

属性值

Boolean

true 如果 URL 表示文件,则为;否则为 false

适用于