Class MultipartFormDataContent

Class MultipartFormDataContent

Namespace: Aspose.Html.Net
Assembly: Aspose.HTML.dll (25.2.0)

Represent content for multipart/form-data encoding algorithm

[ComVisible(true)]
public class MultipartFormDataContent : MultipartContent, IDisposable, IEnumerable<content>, IEnumerable

Inheritance

objectContentMultipartContentMultipartFormDataContent

Implements

IDisposable, IEnumerable<content>, IEnumerable

Inherited Members

MultipartContent.Add(Content), MultipartContent.Dispose(bool), MultipartContent.GetEnumerator(), MultipartContent.SerializeToStream(Stream), Content.SerializeToStream(Stream), Content.ReadAsStream(), Content.ReadAsByteArray(), Content.ReadAsString(), Content.Dispose(bool), Content.Dispose(), Content.Headers, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

MultipartFormDataContent()

Initializes a new instance of the Aspose.Html.Net.MultipartFormDataContent class.

public MultipartFormDataContent()

MultipartFormDataContent(string)

Initializes a new instance of the Aspose.Html.Net.MultipartFormDataContent class.

public MultipartFormDataContent(string boundary)

Parameters

boundary string

The boundary.

Methods

Add(Content)

Add the content to the Aspose.Html.Net.MultipartFormDataContent class

public override void Add(Content content)

Parameters

content Content

The content.

Add(Content, string)

Add the content to the Aspose.Html.Net.MultipartFormDataContent class with field name parameter

public void Add(Content content, string name)

Parameters

content Content

The content.

name string

The field name.

Add(Content, string, string)

Add the content to the Aspose.Html.Net.MultipartFormDataContent class with field and file name parameter

public void Add(Content content, string name, string fileName)

Parameters

content Content

The content.

name string

The field name.

fileName string

The file name. </content>