Attachment Constructor (String, String, Int64)
Initializes new instance of Attachment class.

Namespace: GroupDocs.Viewer.Results
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 20.12
Syntax
public Attachment(
	string id,
	string fileName,
	long size
)

Parameters

id
Type: SystemString
Unique (in context of single file) identifier of the attachment.
fileName
Type: SystemString
Attachment file name.
size
Type: SystemInt64
Attachment file size in bytes.
Exceptions
ExceptionCondition
ArgumentExceptionThrown when id is null or empty.
ArgumentExceptionThrown when fileName is null or empty.
See Also