Class ContentHeaders
Namespace: Aspose.Html.Net
Assembly: Aspose.HTML.dll (25.2.0)
Contains the headers associated with a content.
[ComVisible(true)]
public class ContentHeaders : WebHeaderCollection, ICollection, IEnumerable, IDeserializationCallback, ISerializable
Inheritance
object ← NameObjectCollectionBase ← NameValueCollection ← WebHeaderCollection ← ContentHeaders
Implements
ICollection, IEnumerable, IDeserializationCallback, ISerializable
Inherited Members
WebHeaderCollection.Set(string, string?), WebHeaderCollection.Set(HttpRequestHeader, string?), WebHeaderCollection.Set(HttpResponseHeader, string?), WebHeaderCollection.Remove(HttpRequestHeader), WebHeaderCollection.Remove(HttpResponseHeader), WebHeaderCollection.OnDeserialization(object?), WebHeaderCollection.IsRestricted(string), WebHeaderCollection.IsRestricted(string, bool), WebHeaderCollection.GetValues(int), WebHeaderCollection.GetValues(string), WebHeaderCollection.GetKey(int), WebHeaderCollection.Clear(), WebHeaderCollection.Get(int), WebHeaderCollection.Get(string?), WebHeaderCollection.Add(HttpRequestHeader, string?), WebHeaderCollection.Add(HttpResponseHeader, string?), WebHeaderCollection.Add(string), WebHeaderCollection.Add(string, string?), WebHeaderCollection.AddWithoutValidate(string, string?), WebHeaderCollection.Remove(string), WebHeaderCollection.ToString(), WebHeaderCollection.ToByteArray(), WebHeaderCollection.GetEnumerator(), WebHeaderCollection.this[HttpRequestHeader], WebHeaderCollection.this[HttpResponseHeader], WebHeaderCollection.Count, WebHeaderCollection.Keys, WebHeaderCollection.AllKeys, NameValueCollection.InvalidateCachedArrays(), NameValueCollection.Add(NameValueCollection), NameValueCollection.Clear(), NameValueCollection.CopyTo(Array, int), NameValueCollection.HasKeys(), NameValueCollection.Add(string?, string?), NameValueCollection.Get(string?), NameValueCollection.GetValues(string?), NameValueCollection.Set(string?, string?), NameValueCollection.Remove(string?), NameValueCollection.Get(int), NameValueCollection.GetValues(int), NameValueCollection.GetKey(int), NameValueCollection.this[string?], NameValueCollection.this[int], NameValueCollection.AllKeys, NameObjectCollectionBase.OnDeserialization(object?), NameObjectCollectionBase.BaseHasKeys(), NameObjectCollectionBase.BaseAdd(string?, object?), NameObjectCollectionBase.BaseRemove(string?), NameObjectCollectionBase.BaseRemoveAt(int), NameObjectCollectionBase.BaseClear(), NameObjectCollectionBase.BaseGet(string?), NameObjectCollectionBase.BaseSet(string?, object?), NameObjectCollectionBase.BaseGet(int), NameObjectCollectionBase.BaseGetKey(int), NameObjectCollectionBase.BaseSet(int, object?), NameObjectCollectionBase.GetEnumerator(), NameObjectCollectionBase.BaseGetAllKeys(), NameObjectCollectionBase.BaseGetAllValues(), NameObjectCollectionBase.BaseGetAllValues(Type), NameObjectCollectionBase.IsReadOnly, NameObjectCollectionBase.Count, NameObjectCollectionBase.Keys, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
ContentHeaders()
Initializes a new instance of the Aspose.Html.Net.ContentHeaders class.
public ContentHeaders()
Properties
ContentType
Gets the Content-Type header value.
public ContentTypeHeaderValue ContentType { get; }