internal static void WriteUnicodeProperty(TnefWriter writer, TnefPropertyReader propertyReader, TnefPropertyTag tag, ref char[] buffer) { if (tag.IsNamed) { TnefNameId propertyNameId = propertyReader.PropertyNameId; writer.StartProperty(tag, propertyNameId.PropertySetGuid, propertyNameId.Id); } else { writer.StartProperty(tag); } if (tag.IsMultiValued) { while (propertyReader.ReadNextValue()) { writer.StartPropertyValue(); TnefPropertyBag.WriteUnicodePropertyValue(writer, propertyReader, ref buffer); } return; } TnefPropertyBag.WriteUnicodePropertyValue(writer, propertyReader, ref buffer); }