Interface IFile
Файл.
Inherited Members
Namespace: Ascon.Polynom.Api
Assembly: Ascon.Polynom.Api.dll
Syntax
public interface IFile : IPropertyOwner, IPropertyValueOwner, IAbleToHaveId, IDisposable, IDeleteableApiObject, IAbleToHaveChangeableName, IAbleToHaveName, IAbleToHaveDescription, IApiObject, IApiEntity, INotifyPropertyChanged
Properties
Body
Возвращает или задает содержимое файла.
Declaration
byte[] Body { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
CreationDate
Возвращает или задает дату создания.
Declaration
DateTime CreationDate { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Document
Документ.
Declaration
[Obsolete("Became obsolete in version 23")]
IDocument Document { get; }
Property Value
| Type | Description |
|---|---|
| IDocument |
FilesOwner
Возвращает владельца файла.
Declaration
IFilesOwner FilesOwner { get; }
Property Value
| Type | Description |
|---|---|
| IFilesOwner |
IsEmpty
Возвращает признак того, что тело файла пустое.
Declaration
bool IsEmpty { get; }
Property Value
| Type | Description |
|---|---|
| bool |
ModificationDate
Возвращает или задает дату создания.
Declaration
DateTime ModificationDate { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Size
Возвращает размер файла в байтах.
Declaration
int Size { get; }
Property Value
| Type | Description |
|---|---|
| int |