The following tables list the members exposed by MimeMultiPartData.
Name | Description | |
---|---|---|
MimeMultiPartData Constructor | Overloaded. |
Name | Description | |
---|---|---|
ContentTransferEncoding | This header describes the Content encoding during transfer. If no Content-Transfer-Encoding header was present in the message, it is set to the default of ContentTransferEncoding.SevenBit in accordance to the RFC. | |
ContentType | The Content-Type header field. If not set, the ContentType is created by the default "text/plain; charset=us-ascii" which is defined in RFC 2045 section 5.2. | |
Count | Total number of message parts / Form data found. | |
Headers | The headers originally provided. | |
Item | Returns a element by name, or ArgumentOutOfRangeException | |
Keys | Returns the unique names for all the message parts |
Name | Description | |
---|---|---|
GetAllPartsByName | Gets all parts for a given name, used in the case of multi-file upload controls. | |
GetAttachments | Gets all the parts that are not of type "text/plain" and/or have a filename value set in content disposition. | |
GetEnumerator | Returns an enumerator that iterates through the collection. | |
ToDictionary | Gets a dictionary of all name/value pairs of parts that have a content-type of "text/plain" and do not have a filename value set in content disposition. | |
TryGetMessagePart | Returns true if the element was found and the out parameter messagePart set successfully |
Reference
MimeMultiPartData ClassCSharpTest.Net.Http Namespace