UnitStructure

UnitStructure class

The unit structure.

public sealed class UnitStructure : OSTypeStructure

Constructors

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

Properties

Name Description
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

Name Description
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

Name Description
const StructureKey Identifies the structure key.

See Also