ContentType Struct

Definition

Represents content type.

public readonly struct ContentType : IEquatable<Azure.Core.ContentType>, IEquatable<string>
type ContentType = struct
Public Structure ContentType
Implements IEquatable(Of ContentType), IEquatable(Of String)
Inheritance
ContentType
Implements

Constructors

ContentType(String)

Creates an instance of ContentType.

Properties

ApplicationJson

application/json

ApplicationOctetStream

application/octet-stream

TextPlain

text/plain

Methods

Equals(ContentType)

Indicates whether the current object is equal to another object of the same type.

Equals(Object)

Indicates whether this instance and a specified object are equal.

Equals(String)

Indicates whether the current object is equal to another object of the same type.

GetHashCode()

Returns the hash code for this instance.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(ContentType, ContentType)

Compares equality of two ContentType instances.

Implicit(String to ContentType)

Creates an instance of ContentType.

Inequality(ContentType, ContentType)

Compares inequality of two ContentType instances.

Applies to