Class ContentDispositionHeaderValue
Namespace: Aspose.Html.Net.Headers
Assembly: Aspose.HTML.dll (25.2.0)
Represent Content-Disposition header value.
[ComVisible(true)]
public class ContentDispositionHeaderValue
Inheritance
object ← ContentDispositionHeaderValue
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
ContentDispositionHeaderValue(string)
Create a new instance of this disposition type.
public ContentDispositionHeaderValue(string dispositionType)
Parameters
dispositionType
string
Disposition type
Properties
DispositionType
Get or set disposition type
public string DispositionType { get; set; }
Property Value
FileName
The name of the stored file.
public string FileName { get; set; }
Property Value
Name
The name for a content body part.
public string Name { get; set; }
Property Value
Parameters
Get collection of paremeters
public ICollection<namevalueheadervalue> Parameters { get; }
Property Value
ICollection<NameValueHeaderValue>
Methods
Equals(object)
Determines whether the specified System.Object is equal to this instance.
public override bool Equals(object obj)
Parameters
obj
object
The System.Object to compare with this instance.
Returns
true
if the specified System.Object is equal to this instance; otherwise, false
.
ToString()
Returns a System.String that represents this instance.
public override string ToString()
Returns
Returns a System.String that represents this instance.