Class BSONMaxKeyElement
Represents an element with MaxKey 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 BSONMaxKeyElement : BSONElement, INamed, IConvertible, IJSONWritable
Constructors
BSONMaxKeyElement()
Declaration
public BSONMaxKeyElement()
BSONMaxKeyElement(String)
Declaration
public BSONMaxKeyElement(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Properties
ElementType
Declaration
public override BSONElementType ElementType { get; }
Property Value
Type | Description |
---|---|
BSONElementType |
Overrides
ObjectValue
Declaration
public override object ObjectValue { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
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
WriteAsJSON(TextWriter, Int32, JSONWritingOptions)
Declaration
public override void WriteAsJSON(TextWriter wri, int nestingLevel, JSONWritingOptions options = null)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextWriter | wri | |
System.Int32 | nestingLevel | |
JSONWritingOptions | options |
Overrides
WriteValueToStream(Stream)
Declaration
protected override void WriteValueToStream(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream |
Overrides
Implements
System.IConvertible