 | Tag Methods |
The Tag type exposes the following members.
Methods| | Name | Description |
|---|
 | AddFrame(Frame) |
Adds a frame to the tag, safely avoiding invalid duplicates. If the frame being
added is contrained so that only one with the ID is allowed in a tag, then any previous
frames of the same ID are removed before the new one is added.
|
 | AddFrame(FrameId, Byte) |
Safely adds an arbitrary frame constructed from an ID and raw data.
|
 | AddLangTextFrame |
Safely adds a text frame constructed by an ID, a language and text.
|
 | AddPictureFrame(LitePictureType, String, String) |
Safely adds a picture frame constructed by a type, a description and a file name
that will be read to provide the picture data buffer.
|
 | AddPictureFrame(LitePictureType, String, String, Byte) |
Safely adds a picture frame constructed by a type, a description and a picture data buffer.
|
 | AddTextFrame(FrameId, String) |
Safely adds a text frame constructed by an ID and text.
|
 | AddTextFrame(FrameId, String, String) |
Safely adds a text frame constructed by an ID, a description and text.
|
 | AddTextFrame(FrameId, NullableIsoLanguage, String, String) |
Safely adds a text frame constructed by an ID, a language, a description and text.
|
 | AddTrackFrame |
Safely adds a track frame constructed by a track number and optional track count.
|
 | AddUrlFrame(FrameId, String) |
Safely adds a url frame constructed by an ID and a Latin ISO encoded url.
|
 | AddUrlFrame(FrameId, String, String) |
Safely adds a url frame constructed by an ID, a description and a Latin ISO encoded url.
|
 | AddYearFrame |
Safely adds a year frame.
|
 | FindFirstFrameById |
Finds the first frame with a specified Frame ID. Returns null if no frame is found.
|
 | FindFramesById |
Finds all frames with a specified Frame ID. The returned array may be zero length, not null.
|
 | MergeV1Tag |
Information from the V1 tag is added to the frame collection if frames with
the same information type do not already exist.
|
 | RemoveAll |
Removes all frames from the Tag.
|
 | RemoveAllFramesById |
Removes all frames of a specified ID.
|
 | RemoveFirstFrameById |
Safely removes a frame of a specified ID if one exists. If there are multiples of the same ID
then the first one found is removed.
|
 | RemoveFrame |
Removes a specific frame from the frames.
|
 | SaveToBuffer |
Writes (serializes) the Tag to a byte array.
|
 | SaveToStream |
Writes (serializes) a Tag and its frames to a stream.
The Stream to write the tag to.The caller tells us the desired size of the tag. If the tag takes
less space than this value then padding zero-filled bytes are appended to make the desired size. |
 | SortFrames |
Sorts the frames using a comparison rule determined by the caller.
|
 | V1ToStream |
A V1 tag is written to the stream with fields completed if they have corresponding Frames.
|
Top
See Also