namespace SabreTools.Data.Models.OLE { /// /// The DictionaryEntry packet represents a mapping between a property identifier and a /// property name /// /// public class DictionaryEntry { /// /// An unsigned integer representing a property identifier. MUST be a valid /// PropertyIdentifier value in the range 0x00000002 to 0x7FFFFFFF, inclusive /// (this specifically excludes the property identifiers for any of the special /// properties specified in section 2.18). /// public PropertyIdentifier PropertyIdentifier { get; set; } /// /// If the property set's CodePage property has the value CP_WINUNICODE (0x04B0), /// MUST be the length of the Name field in 16-bit Unicode characters, including /// the null terminator but not including padding (if any). Otherwise, MUST be the /// length of the Name field in 8-bit characters, including the null terminator. /// public uint Length { get; set; } /// /// If the property set's CodePage property has the value CP_WINUNICODE (0x04B0), /// MUST be a null-terminated array of 16-bit Unicode characters, followed by zero /// padding to a multiple of 4 bytes. Otherwise, MUST be a null-terminated array of /// 8-bit characters from the code page identified by the CodePage property and MUST /// NOT be padded. /// public string Name { get; set; } = string.Empty; } }