AudioType

AudioType structure

Represents one supportable audio type (format)

public struct AudioType : IEquatable<AudioType>, IResourceType

Properties

Name Description
static Mp3 { get; } Represents a MPEG-1 Audio Layer III audio format
static Undefined { get; } Special value, which marks undefined, unknown or unsupported audio format
FileExtension { get; } Filename extension (without dot character) for this audio format
FormalName { get; } Formal name of this audio format
MimeCode { get; } MIME code for this audio format

Methods

Name Description
static ParseFromFilenameWithExtension(string) Returns AudioType value, which is equivalent of filename extension, which is extracted from specified filename
Equals(AudioType) Determines whether this instance is equal with specified “AudioType” instance
override Equals(object) Determines whether this instance is equal with specified uncasted object, which presumably is another “AudioType” instance
override GetHashCode() Returns a hash-code, which is a constant number for this specific value type
operator == Checks whether two “AudioType” values are equal
operator != Checks whether two “AudioType” values are not equal

See Also