Interface IAttachment
Represents the basic metadata for an attachment.
Namespace: Syncfusion.Maui.AIAssistView
Assembly: Syncfusion.Maui.AIAssistView.dll
Syntax
public interface IAttachment
Properties
FileContent
Gets or sets the file content.
Declaration
Stream FileContent { get; set; }
Property Value
| Type |
|---|
| System.IO.Stream |
FileExtension
Gets or sets the file extension (including the leading '.') for the attachment.
Declaration
string FileExtension { get; set; }
Property Value
| Type |
|---|
| System.String |
FileName
Gets or sets the attachment file name.
Declaration
string FileName { get; set; }
Property Value
| Type |
|---|
| System.String |
FilePath
Gets or sets the full file path to the attachment (when available).
Declaration
string FilePath { get; set; }
Property Value
| Type |
|---|
| System.String |
FilePreviewIcon
Gets or sets the file preview icon.
Declaration
ImageSource FilePreviewIcon { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Controls.ImageSource |
FileSize
Gets or sets the file size in bytes.
Declaration
long FileSize { get; set; }
Property Value
| Type |
|---|
| System.Int64 |