mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-06 06:11:45 +00:00
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
28 lines
992 B
C#
28 lines
992 B
C#
namespace SabreTools.Data.Models.OLE
|
|
{
|
|
/// <summary>
|
|
/// The TypedPropertyValue structure represents the typed value of a property in a property set
|
|
/// </summary>
|
|
/// <see href="https://winprotocoldoc.z19.web.core.windows.net/MS-OLEPS/%5bMS-OLEPS%5d.pdf"/>
|
|
public class TypedPropertyValue
|
|
{
|
|
/// <summary>
|
|
/// MUST be a value from the PropertyType enumeration, indicating the type of
|
|
/// property represented.
|
|
/// </summary>
|
|
public PropertyType Type { get; set; }
|
|
|
|
/// <summary>
|
|
/// MUST be set to zero, and any nonzero value SHOULD be rejected
|
|
/// </summary>
|
|
public ushort Padding { get; set; }
|
|
|
|
/// <summary>
|
|
/// MUST be the value of the property represented and serialized according to
|
|
/// the value of Type as follows.
|
|
/// </summary>
|
|
/// <remarks>See documentation for required lengths</remarks>
|
|
public byte[] Value { get; set; } = [];
|
|
}
|
|
}
|