Class UnitStructure

UnitStructure class

The unit structure.

public sealed class UnitStructure : OSTypeStructure

Constructors

NameDescription
UnitStructure(ClassID)Initializes a new instance of the UnitStructure class.

Properties

NameDescription
override Key { get; }Gets the structure key.
KeyName { get; set; }Gets or sets the key name.
override Length { get; }Gets the OSTypeStructure length in bytes.
UnitType { get; set; }Gets or sets the unit type.
Value { get; set; }Gets or sets the value.

Methods

NameDescription
virtual GetHeaderLength()Gets the header length.
Save(StreamContainer)Saves the structure to the specified stream container.
SaveWithoutKeyName(StreamContainer)Saves the structure to the specified stream container.

Fields

NameDescription
const StructureKeyIdentifies the structure key.

See Also