AttachedFile

AttachedFile constructor (1 of 4)

Initializes a new instance of the AttachedFile class.

public AttachedFile(string path, Stream icon, ImageFormat iconFormat)
Parameter Type Description
path String A string that contains the path to the file from which to create the AttachedFile.
icon Stream An icon for the attached file.
iconFormat ImageFormat A format of the attached file icon.

See Also


AttachedFile constructor (2 of 4)

Initializes a new instance of the AttachedFile class.

public AttachedFile(string fileName, Stream attachedFileStream)
Parameter Type Description
fileName String A name of the attached file.
attachedFileStream Stream A stream which contains the attached file bytes.

See Also


AttachedFile constructor (3 of 4)

Initializes a new instance of the AttachedFile class.

public AttachedFile(string fileName, Stream attachedFileStream, Stream icon, ImageFormat iconFormat)
Parameter Type Description
fileName String A name of the attached file.
attachedFileStream Stream A stream which contains the attached file bytes.
icon Stream An icon for the attached file.
iconFormat ImageFormat A format of the attached file icon.

See Also


AttachedFile constructor (4 of 4)

Initializes a new instance of the AttachedFile class.

public AttachedFile()

See Also