| Visual Basic (Declaration) | |
|---|---|
Public Function New( _ ByVal text As String, _ ByVal type As ContentType, _ ByVal encoding As ContentEncoding, _ ByVal charset As String, _ ByVal fileName As String _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim text As String Dim type As ContentType Dim encoding As ContentEncoding Dim charset As String Dim fileName As String Dim instance As New MessagePartStream(text, type, encoding, charset, fileName) | |
| C# | |
|---|---|
public MessagePartStream( string text, ContentType type, ContentEncoding encoding, string charset, string fileName ) | |
| Managed Extensions for C++ | |
|---|---|
public: MessagePartStream( string* text, ContentType type, ContentEncoding encoding, string* charset, string* fileName ) | |
| C++/CLI | |
|---|---|
public: MessagePartStream( String^ text, ContentType type, ContentEncoding encoding, String^ charset, String^ fileName ) | |
Parameters
- text
- The string to use to initialize the object.
- type
- A ContentType specifying the content type to use.
- encoding
- A ContentEncoding type specifying the MIME encoding to use.
- charset
- The character set to use for the part.
- fileName
- The filename to use for the part.
Use this constructor to create a complete MessagePartStream object.
Target Platforms: Microsoft .NET Framework 2.0