Class ContentDispositionHeaderValue
Tên không gian: Aspose.Html.Net.Headers Tổng hợp: Aspose.HTML.dll (25.4.0)
Hiển thị Content-Disposition header giá trị.
[ComVisible(true)]
public class ContentDispositionHeaderValue
Inheritance
object ← ContentDispositionHeaderValue
Thành viên thừa kế
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
ContentDispositionHeaderValue(String)
Tạo một trường hợp mới của loại disposition này.
public ContentDispositionHeaderValue(string dispositionType)
Parameters
dispositionType
string
Loại Disposition
Properties
DispositionType
Nhận hoặc thiết lập định dạng
public string DispositionType { get; set; }
Giá trị bất động sản
FileName
Tên của file được lưu trữ.
public string FileName { get; set; }
Giá trị bất động sản
Name
Tên của một phần cơ thể nội dung.
public string Name { get; set; }
Giá trị bất động sản
Parameters
Nhận bộ sưu tập của paremeters
public ICollection<namevalueheadervalue> Parameters { get; }
Giá trị bất động sản
ICollection < NameValueHeaderValue >
Methods
Equals(đối tượng)
Nó xác định xem System.Object được chỉ định có tương đương với trường hợp này hay không.
public override bool Equals(object obj)
Parameters
obj
object
Hệ thống.Object để so sánh với trường hợp này.
Returns
’truyền’ nếu System.Object được chỉ định là tương đương với trường hợp này; nếu không, ’lầm'.
ToString()
Trở lại một System.String đại diện cho trường hợp này.
public override string ToString()
Returns
Trở lại một System.String đại diện cho trường hợp này.