ContentTypeField Methods

The methods of the ContentTypeField class are listed below. For a complete list of ContentTypeField class members, see the ContentTypeField Members topic.

Public Static Methods

GetCharset Gets the value of the charset parameter if set for the given field. Returns the default us-ascii if not set or if f is null.
GetMimeType Gets the MIME type defined in the child's Content-Type field or derives a MIME type from the parent if child is null or hasn't got a MIME type value set. If child's MIME type is multipart but no boundary has been set the MIME type of child will be derived from the parent.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetParameter Gets the value of a parameter. Parameter names are case-insensitive.
GetType (inherited from Object) Gets the Type of the current instance.
IsMimeType Determines if the MIME type of this field matches the given one.
ToString (inherited from MimeField) 

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
ParseBody 

See Also

ContentTypeField Class | NI.Email.Mime.Field Namespace