Rediger

Del via


PrimitiveTypeRecord<T> Class

Definition

Represents a record that itself represents the primitive value of T type.

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

Type Parameters

T

The type of the primitive value.

Inheritance

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.

Value

Gets the serialized primitive value.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
TypeNameMatches(Type)

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

(Inherited from SerializationRecord)

Applies to