Class BSONTimestampElement
Represents a BSON element with an Timestamp value
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Azos.Serialization.BSON
Assembly: Azos.dll
Syntax
public sealed class BSONTimestampElement : BSONElement<BSONTimestamp>, INamed, IConvertible, IJSONWritable
Constructors
BSONTimestampElement(BSONTimestamp)
Creates an array element
Declaration
public BSONTimestampElement(BSONTimestamp value)
Parameters
Type | Name | Description |
---|---|---|
BSONTimestamp | value |
BSONTimestampElement(String, BSONTimestamp)
Declaration
public BSONTimestampElement(string name, BSONTimestamp value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
BSONTimestamp | value |
Properties
ElementType
Declaration
public override BSONElementType ElementType { get; }
Property Value
Type | Description |
---|---|
BSONElementType |
Overrides
Methods
GetValueByteSize()
Declaration
protected override int GetValueByteSize()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
ReadValueFromStream(Stream)
Declaration
protected override void ReadValueFromStream(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream |
Overrides
WriteValueToStream(Stream)
Declaration
protected override void WriteValueToStream(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream |
Overrides
Implements
System.IConvertible