class MediaFile
{
string ContentType { get; set; }
DateTime? Date { get; set; }
string FileName { get; set; }
int? FileSize { get; set; }
string FileUrl { get; set; }
bool? IsRemoteAttachment { get; set; }
Byte[] Data();
bool SaveToTemporaryFiles(string contextId, string fileName);
}
|
名称 |
类型 |
描述 |
默认值 |
选项 |
|
ContentType |
string |
|||
|
Date |
DateTime? |
|||
|
FileName |
string |
|||
|
FileSize |
int? |
|||
|
FileUrl |
string |
|||
|
IsRemoteAttachment |
bool? |
Byte[]
|
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
|
contextId |
string |
Context Id |
Required |
||
|
fileName |
string |
File Name |
Required |
bool