Attachment Constructor (String, String, FileType, Int64) |
Namespace: GroupDocs.Viewer.ResultsAssembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 20.12
Syntaxpublic Attachment(
string id,
string fileName,
FileType fileType,
long size
)
Public Sub New (
id As String,
fileName As String,
fileType As FileType,
size As Long
)
public:
Attachment(
String^ id,
String^ fileName,
FileType^ fileType,
long long size
)
new :
id : string *
fileName : string *
fileType : FileType *
size : int64 -> Attachment
Parameters
- id
- Type: SystemString
Unique (in context of single file) identifier of the attachment. - fileName
- Type: SystemString
Attachment file name. - fileType
- Type: GroupDocs.ViewerFileType
Attachment file type. - size
- Type: SystemInt64
Attachment file size in bytes.
Exceptions
See Also