LyricsTag Class |
Namespace: GroupDocs.Metadata.Formats.Audio
The LyricsTag type exposes the following members.
Name | Description | |
---|---|---|
![]() | LyricsTag |
Initializes a new instance of the LyricsTag class.
|
Name | Description | |
---|---|---|
![]() | AdditionalInfo |
Gets or sets the additional information.
This value is represented by the INF field.
|
![]() | Album |
Gets or sets the album name.
This value is represented by the EAL field.
|
![]() | Artist |
Gets or sets the artist name.
This value is represented by the EAR field.
|
![]() | Author |
Gets or sets the author.
This value is represented by the AUT field.
|
![]() | Count |
Gets the number of metadata properties.
(Inherited from MetadataPackage.) |
![]() | Item |
Gets the MetadataProperty with the specified name.
(Inherited from MetadataPackage.) |
![]() | Keys |
Gets a collection of the metadata property names.
(Inherited from MetadataPackage.) |
![]() | KnowPropertyDescriptors | Obsolete.
Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine.
(Inherited from MetadataPackage.) |
![]() | Lyrics |
Gets or sets the lyrics.
This value is represented by the LYR field.
|
![]() | MetadataType |
Gets the metadata type.
(Inherited from MetadataPackage.) |
![]() | PropertyDescriptors |
Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine.
(Inherited from MetadataPackage.) |
![]() | Track |
Gets or sets the track title.
This value is represented by the ETT field.
|
Name | Description | |
---|---|---|
![]() | AddProperties |
Adds known metadata properties satisfying the specified predicate.
The operation is recursive so it affects all nested packages as well.
(Inherited from MetadataPackage.) |
![]() | Contains |
Determines whether the package contains a metadata property with the specified name.
(Inherited from MetadataPackage.) |
![]() | Equals | (Inherited from Object.) |
![]() | FindProperties |
Finds the metadata properties satisfying the specified predicate.
The search is recursive so it affects all nested packages as well.
(Inherited from MetadataPackage.) |
![]() | Get |
Gets the value of the field with the specified id.
|
![]() | GetEnumerator |
Returns an enumerator that iterates through the collection.
(Inherited from MetadataPackage.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | Remove |
Removes the field with the specified id.
|
![]() | RemoveProperties |
Removes metadata properties satisfying the specified predicate.
(Inherited from MetadataPackage.) |
![]() | Sanitize |
Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well.
(Inherited from MetadataPackage.) |
![]() | Set |
Adds or replaces the specified Lyrics3 field.
|
![]() | SetProperties |
Sets known metadata properties satisfying the specified predicate.
The operation is recursive so it affects all nested packages as well.
This method is a combination of AddProperties(FuncMetadataProperty, Boolean, PropertyValue) and UpdateProperties(FuncMetadataProperty, Boolean, PropertyValue).
If an existing property satisfies the predicate its value is updated.
If there is a known property missing in the package that satisfies the predicate it is added to the package.
(Inherited from MetadataPackage.) |
![]() | ToList |
Creates a list from the package.
|
![]() | ToString | (Inherited from Object.) |
![]() | UpdateProperties |
Updates known metadata properties satisfying the specified predicate.
The operation is recursive so it affects all nested packages as well.
(Inherited from MetadataPackage.) |
Learn more
using (Metadata metadata = new Metadata(Constants.MP3WithLyrics)) { var root = metadata.GetRootPackage<MP3RootPackage>(); if (root.Lyrics3V2 != null) { Console.WriteLine(root.Lyrics3V2.Lyrics); Console.WriteLine(root.Lyrics3V2.Album); Console.WriteLine(root.Lyrics3V2.Artist); Console.WriteLine(root.Lyrics3V2.Track); // ... // Alternatively, you can loop through a full list of tag fields foreach (var field in root.Lyrics3V2.ToList()) { Console.WriteLine("{0} = {1}", field.ID, field.Data); } } }