ContentType Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro