public static string GetMessage_WA_Type_StrValue(Type type)
{
if (type != Type.Undefined)
{
if (type == Type.System)
{
return "system";
}
if (type == Type.Image)
{
return "image";
}
if (type == Type.Audio)
{
return "audio";
}
if (type == Type.Video)
{
return "video";
}
if (type == Type.Contact)
{
return "vcard";
}
if (type == Type.Location)
{
return "location";
}
}
return null;
}