public override System.String ToString()
{
System.String str = "\n --- COM (" + lcom + " bytes) ---\n";
if (rcom == 0)
{
str += " Registration : General use (binary values)\n";
}
else if (rcom == 1)
{
str += (" Registration : General use (IS 8859-15:1999 " + "(Latin) values)\n");
str += (" Text : " + System.Text.Encoding.UTF8.GetString(ccom, 0, ccom.Length) + "\n");
}
else
{
str += " Registration : Unknown\n";
}
str += "\n";
return str;
}