Njb.SongFrame.ToString C# (CSharp) Method

ToString() public method

public ToString ( ) : string
return string
        public override string ToString()
        {
            string ret = Label + " = ";

            switch(FrameType) {
                case SongFrameType.String:
                    ret += DataString;
                    break;
                case SongFrameType.UInt16:
                    ret += DataShort;
                    break;
                case SongFrameType.UInt32:
                    ret += DataInt;
                    break;
                default:
                    return "INVALID FRAME";
            }

            return ret;
        }