Мельница данных  (10.12.2023)
Конструктор 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] Да
Class TClass Нет
Parent TObject Нет
Master TObject Да
Accessor TSecurityAccount Нет
User TUser Да

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

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

Имя файла

FileBaseName string[128] Да

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

FileBody blob Нет

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

FormView TFormView Нет

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

Object TObject Нет

Объект

HyperLink string[256] Нет

Гиперссылка

AttachmentType TInstantMessageAttachmentType Да

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

Замечания:

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


См. также