| Visual Basic (Declaration) | |
|---|---|
Public Function New( _ ByVal attachment As Stream, _ ByVal fileName As String, _ ByVal encoding As ContentEncoding _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim attachment As Stream Dim fileName As String Dim encoding As ContentEncoding Dim instance As New AttachmentStream(attachment, fileName, encoding) | |
| C# | |
|---|---|
public AttachmentStream( Stream attachment, string fileName, ContentEncoding encoding ) | |
| Managed Extensions for C++ | |
|---|---|
public: AttachmentStream( Stream* attachment, string* fileName, ContentEncoding encoding ) | |
| C++/CLI | |
|---|---|
public: AttachmentStream( Stream^ attachment, String^ fileName, ContentEncoding encoding ) | |
Parameters
- attachment
- The Stream containing data from which an attachment will be created.
- fileName
- The filename of the attachment.
- encoding
- The encoding type of the attachment.
Target Platforms: Microsoft .NET Framework 2.0