PrimitiveTypeRecord Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
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) |