Skip to main content

JProperty Class

Namespace: GHIElectronics.TinyCLR.Data.Json · Assembly: GHIElectronics.TinyCLR.Data.Json

A name/value pair inside a JObject.

public class JProperty : JToken

Constructors

JProperty()

public JProperty()

No description available.

JProperty(string name, JToken value)

public JProperty(string name, JToken value)

No description available.

ParameterTypeDescription
namestring
valueJToken

Properties

Name

public string Name { get; set; }

The native API name. (inherited)

Value

public JToken Value { get; set; }

Current needle position. Only this property doesn't dirty the background — the pointer is repainted every frame. (inherited)

Methods

ToString()

public override string ToString()

String representation (inherited)

Returns string

ToString(JsonSerializationOptions options)

public override string ToString(JsonSerializationOptions options)

No description available.

ParameterTypeDescription
optionsJsonSerializationOptions

Returns string

GetBsonSize()

public override int GetBsonSize()

No description available.

Returns int

GetBsonSize(string ename)

public override int GetBsonSize(string ename)

No description available.

ParameterTypeDescription
enamestring

Returns int

ToBson(byte[] buffer, ref int offset)

public override void ToBson(byte[] buffer, ref int offset)

No description available.

ParameterTypeDescription
bufferbyte[]
offsetref int

GetBsonType()

public override BsonTypes GetBsonType()

No description available.

Returns BsonTypes