namespace SabreTools.Data.Models.OLE
{
///
/// The PropertySet packet represents a property set.
///
///
public class PropertySet
{
///
/// MUST be the total size in bytes of the PropertySet packet
///
public uint Size { get; set; }
///
/// An unsigned integer representing the number of properties in the
/// property set.
///
public uint NumProperties { get; set; }
///
/// All PropertyIdentifierAndOffset fields MUST be a sequence of
/// PropertyIdentifierAndOffset packets. The sequence MUST be in order of
/// increasing value of the Offset field. Packets are not required to be
/// in any particular order with regard to the value of the PropertyIdentifier
/// field.
///
public PropertyIdentifierAndOffset[] PropertyIdentifierAndOffsets { get; set; } = [];
///
/// Each Property field is a sequence of property values, each of which MUST
/// be represented by a TypedPropertyValue packet or a Dictionary packet in
/// the special case of the Dictionary property.
///
public object[] Properties { get; set; } = [];
}
}