文章 MediaFile 类

  • 命名空间: Limyee.Extensibility.Api.Entities.Version1
  • 程序集: Limyee.Api.dll

定义

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[] Data();

返回类型

Byte[]

bool SaveToTemporaryFiles(string contextId, string fileName);

参数

名称

类型

描述

必需

默认值

选项

contextId

string

Context Id

Required

fileName

string

File Name

Required

返回类型

bool