Class MultipartContent

Class MultipartContent

ชื่อพื้นที่: Aspose.Html.Net การประกอบ: Aspose.HTML.dll (25.4.0)

แสดงเนื้อหาหลายส่วน / *

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

Inheritance

object Content MultipartContent

Derived

MultipartFormDataContent

Implements

IDisposable , IEnumerable , IEnumerable

อนุญาโตตุลาการ

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

MultipartContent()

สร้างตัวอย่างใหม่ของคลาส Aspose.Html.Net.MultipartContent

public MultipartContent()

MultipartContent(รั้ว)

สร้างตัวอย่างใหม่ของคลาส Aspose.Html.Net.MultipartContent ด้วย subtype

public MultipartContent(string subtype)

Parameters

subtype string

ชิ้นส่วน

MultipartContent(รั้ว, รั้ว)

สร้างตัวอย่างใหม่ของคลาส Aspose.Html.Net.MultipartContent ด้วย subtype และ limitary

public MultipartContent(string subtype, string boundary)

Parameters

subtype string

ชิ้นส่วน

boundary string

ขอบเขต

Exceptions

ArgumentException

คําอธิบายไม่สามารถเป็น null หรือแถบว่างเปล่า

Methods

Add(Content)

เพิ่มเนื้อหาใหม่ไปยัง Aspose.Html.Net.MultipartContent

public virtual void Add(Content content)

Parameters

content Content

เนื้อหาที่จะเพิ่มไปยัง Aspose.Html.Net.MultipartContent

Dispose(บอล)

การปล่อยทรัพยากรที่ไม่ได้จัดการและ - ทางเลือก - จัดการ

protected override void Dispose(bool disposing)

Parameters

disposing bool

“จริง” เพื่อปล่อยทรัพยากรที่จัดการและไม่ได้จัดการ; “ผิด” เพื่อปล่อยทรัพยากรที่ไม่จัดการเท่านั้น

GetEnumerator()

กลับตัวเลขที่ iterates ผ่านการเก็บรวบรวม

public IEnumerator<content> GetEnumerator()

Returns

IEnumerator < Content >

A System.Collections.IEnumerator วัตถุที่สามารถใช้ในการ iterate ผ่านการเก็บรวบรวม

SerializeToStream(Stream)

ซีรี่ส์ไป Stream

protected override void SerializeToStream(Stream stream)

Parameters

stream Stream

กระแส

ดูเพิ่มเติม

Content

 แบบไทย