AttachedFile Constructor (Document, String, Stream)

Aspose.Note for .NET API

AttachedFile Constructor (Document, String, Stream)

Initializes a new instance of the AttachedFile class.

Namespace:  Aspose.Note
Assembly:  Aspose.Note (in Aspose.Note.dll) Version: 18.1
Syntax
public AttachedFile(
	Document document,
	string fileName,
	Stream attachedFileStream
)
Public Sub New ( 
	document As Document,
	fileName As String,
	attachedFileStream As Stream
)
public:
AttachedFile(
	Document^ document, 
	String^ fileName, 
	Stream^ attachedFileStream
)
new : 
        document : Document * 
        fileName : string * 
        attachedFileStream : Stream -> AttachedFile

Parameters

document
Type: Aspose.NoteDocument
A parent document of the attached file.
fileName
Type: SystemString
A name of the attached file.
attachedFileStream
Type: System.IOStream
A stream which contains the attached file bytes.
See Also