Share via


ArrayRecord Class

Definition

Defines the core behavior for NRBF array records and provides a base for derived classes.

C#
public abstract class ArrayRecord : System.Formats.Nrbf.SerializationRecord
Inheritance
Derived

Properties

Id

Gets the ID of the record.

Lengths

When overridden in a derived class, gets a buffer of integers that represent the number of elements in every dimension.

Rank

Gets the rank of the array.

RecordType

Gets the type of the record.

(Inherited from SerializationRecord)
TypeName

Gets the name of the serialized type.

(Inherited from SerializationRecord)

Methods

GetArray(Type, Boolean)

Allocates an array and fills it with the data provided in the serialized records (in case of primitive types like String or Int32) or the serialized records themselves.

TypeNameMatches(Type)

Compares the type name read from the payload against the specified type.

(Inherited from SerializationRecord)

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)
Windows Desktop 9, 10