FileHeader
更新时间: 2024-02-02 浏览次数: {{ hits }}
类名 : FileHeader
说明 : 附件头信息,主要记录附件的摘要信息 属性 : 
名称说明
FileId附件对象的Id
CreatedBy用户ID
ModifiedBy最后一次变更的用户的Id
ContentType获取或设置附件的类型
IsImage是否是图片类型的
ContentLength获取或设置附件字节大小
FileName文件的名称
Description文件的描述信息
CreatedTime文件的创建时间
ModifiedTime最后一次修改时间
FileFlag文件的标识位
SortKey上传顺序
Printable是否可以被打印
Downloadable是否可以被下载


成员 : 
名称说明
PropertyName_CreatedBy属性名称
PropertyName_ModifiedBy属性名称
PropertyName_ContentType附件的类型
PropertyName_ContentLength附件字节大小
PropertyName_FileName属性名称
PropertyName_Description属性名称
PropertyName_CreatedTime属性名称
PropertyName_ModifiedTime属性名称
DefaultFileFlag默认的标志位
PropertyName_FileFlag属性名称
PropertyName_SortKey上传顺序值
FileFlag_DisableDownload禁用下载
FileFlag_DisablePrint禁用打印

构造方法名称 : #ctor
参数说明


返回值


方法名称 : IsImageType(System.String)
参数说明
"contentType"附件的content type
返回值
如果是图片类型,则返回true,否则返回false

方法名称 : GetThumbnailUrl(System.String,System.String,System.String,System.String,H3.Data.FileServiceType)
参数说明
"ossEndPoint"oss地址
"bucketName"bucket name
"engineCode"引擎编码
"fileId"文件Id
"type"存储服务的类型
返回值
https格式的缩略图地址

方法名称 : GetObjectTrack(System.String)
参数说明
"objectName"
返回值