FileUpload.HasFiles 属性
定义
获取指示所有未见是否已经被上传的值。Gets a value that indicates whether any files have been uploaded.
public:
property bool HasFiles { bool get(); };
[System.ComponentModel.Browsable(false)]
public bool HasFiles { get; }
[<System.ComponentModel.Browsable(false)>]
member this.HasFiles : bool
Public ReadOnly Property HasFiles As Boolean
属性值
如果上载任何文件中,则为true;否则,为 false。true if any files have been uploaded; otherwise, false.
- 属性
注解
false如果上载的空文件 (零字节) ,此方法也会返回。This method also returns false if an empty file (zero bytes) is uploaded.