AttachedFile.AttachedFile

AttachedFile(string)

Initializes a new instance of the AttachedFile class.

public AttachedFile(string path)
ParameterTypeDescription
pathStringA string that contains the path to the file from which to create the AttachedFile.

See Also


AttachedFile(string, Stream, ImageFormat)

Initializes a new instance of the AttachedFile class.

public AttachedFile(string path, Stream icon, ImageFormat iconFormat)
ParameterTypeDescription
pathStringA string that contains the path to the file from which to create the AttachedFile.
iconStreamAn icon for the attached file.
iconFormatImageFormatA format of the attached file icon.

See Also


AttachedFile(string, Stream)

Initializes a new instance of the AttachedFile class.

public AttachedFile(string fileName, Stream attachedFileStream)
ParameterTypeDescription
fileNameStringA name of the attached file.
attachedFileStreamStreamA stream which contains the attached file bytes.

See Also


AttachedFile(string, Stream, Stream, ImageFormat)

Initializes a new instance of the AttachedFile class.

public AttachedFile(string fileName, Stream attachedFileStream, Stream icon, ImageFormat iconFormat)
ParameterTypeDescription
fileNameStringA name of the attached file.
attachedFileStreamStreamA stream which contains the attached file bytes.
iconStreamAn icon for the attached file.
iconFormatImageFormatA format of the attached file icon.

See Also


AttachedFile()

Initializes a new instance of the AttachedFile class.

public AttachedFile()

See Also