Share via


SZArrayRecord<T> Class

Definition

Defines the core behavior for NRBF single dimensional, zero-indexed array records and provides a base for derived classes.

generic <typename T>
public ref class SZArrayRecord abstract : System::Formats::Nrbf::ArrayRecord
public abstract class SZArrayRecord<T> : System.Formats.Nrbf.ArrayRecord
type SZArrayRecord<'T> = class
    inherit ArrayRecord
Public MustInherit Class SZArrayRecord(Of T)
Inherits ArrayRecord

Type Parameters

T
Inheritance

Properties

Id

Gets the ID of the record.

(Inherited from ArrayRecord)
Length

Gets the length of the array.

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.

(Inherited from ArrayRecord)
RecordType

Gets the type of the record.

(Inherited from SerializationRecord)
TypeName

Gets the name of the serialized type.

(Inherited from SerializationRecord)

Methods

GetArray(Boolean)

When overridden in a derived class, allocates an array of T 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.

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.

(Inherited from ArrayRecord)
TypeNameMatches(Type)

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

(Inherited from SerializationRecord)

Applies to