Delen via


PrimitiveTypeRecord Class

Definition

Represents a record that itself represents a primitive value.

public ref class PrimitiveTypeRecord abstract : System::Formats::Nrbf::SerializationRecord
public abstract class PrimitiveTypeRecord : System.Formats.Nrbf.SerializationRecord
type PrimitiveTypeRecord = class
    inherit SerializationRecord
Public MustInherit Class PrimitiveTypeRecord
Inherits SerializationRecord
Inheritance
PrimitiveTypeRecord
Derived

Remarks

The NRBF specification considers the following types to be primitive: String, Boolean, Byte, SByteChar, Int16, UInt16, Int32, UInt32, Int64, UInt64, Single, Double, Decimal, DateTime and TimeSpan.

Other serialization records are represented with ClassRecord or ArrayRecord.

Properties

Id

Gets the ID of the record.

(Inherited from SerializationRecord)
RecordType

Gets the type of the record.

(Inherited from SerializationRecord)
TypeName

Gets the name of the serialized type.

(Inherited from SerializationRecord)
Value

Gets the serialized primitive value.

Methods

TypeNameMatches(Type)

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

(Inherited from SerializationRecord)

Applies to