| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As AttachmentStream Dim fileName As String instance.Save(fileName) | |
Parameters
- fileName
- The name of the file to save the attachment to.
This method saves the attachment to the file specified by fileName. Does not overwrite.
This method reads data until 0 bytes are returned, indicating the end of the stream.
Target Platforms: Microsoft .NET Framework 2.0