ContentType

ContentType class

Represents a Content-Type header.

Constructors

NameDescription
ContentType (3 overloads)Initializes a new instance of the ContentType class.

Methods

NameDescription
Clone
EqualsDetermines whether the specified System::Object is equal to this instance.
get_BoundaryGets the value of the boundary parameter included in the Content-Type header.
get_CharSetGets the value of the charset parameter.
get_CreatedManually
get_IsChangedGets a value indicating whether content type is changed.
get_MediaTypeGets the internet media type.
get_NameGets the value of the name parameter.
get_ParametersGets the dictionary that contains the parameters.
GetHashCodeReturns a hash code for this instance.
PersistIfNeeded
Set
set_BoundarySets the value of the boundary parameter included in the Content-Type header.
set_CharSetSets the value of the charset parameter.
set_MediaTypeSets the internet media type.
set_NameSets the value of the name parameter.
ToStringReturns a System::String that represents this instance.
parameters