Мельница данных  (01.05.2024)
Конструктор Create (Конструктор сообщения с вложением)

Конструктор класса TInstantMessageAttachment.

1constructor TInstantMessageAttachment.Create(Name: string[64]; 
2  Description: string[128]; Class: TClass; Parent: TObject; Master: TObject; 
3  Accessor: TSecurityAccount; User: TUser; Message: string[255]; 
4  DeliveryTime: datetime; FileName: string[255]; FileBaseName: string[128]; 
5  FileBody: blob; FormView: TFormView; Object: TObject; HyperLink: string[256]; 
6  AttachmentType: TInstantMessageAttachmentType): TObject;

Переопределяет метод в TInstantMessage.Create, TObject.Create.

Параметры:

Имя Тип Обязательно Значение
Name string[64] Да

Унаследовано от TObject.Create

Description string[128] Да
ClassTClass Нет
ParentTObject Нет
MasterTObject Да
AccessorTSecurityAccount Нет
UserTUser Да

Унаследовано от TInstantMessage.Create

Message string[255] Да
DeliveryTime datetime Нет
FileName string[255] Нет

Имя файла

FileBaseName string[128] Да

Базовое имя файла

FileBody blob Нет

Содержимое файла

FormViewTFormView Нет

Представление

ObjectTObject Нет

Объект

HyperLink string[256] Нет

Гиперссылка

AttachmentTypeTInstantMessageAttachmentType Да

Тип приложения

Замечания:

Создает новый объект класса TInstantMessageAttachment.


См. также