Show / Hide Table of Contents

Interface IFragment

An interface representing a readonly entry in a key-value path on an object.

Inherited Members
IArrayFragment.Item[Int32]
IDictionaryFragment.Item[String]
Namespace: Couchbase.Lite
Assembly: Couchbase.Lite.dll
Syntax
public interface IFragment : IArrayFragment, IDictionaryFragment

Properties

| Improve this Doc View Source

Array

Gets the contained value as a ArrayObject

Declaration
ArrayObject Array { get; }
Property Value
Type Description
ArrayObject
| Improve this Doc View Source

Blob

Gets the contained value as a Blob

Declaration
Blob Blob { get; }
Property Value
Type Description
Blob
| Improve this Doc View Source

Boolean

Gets the contained value as a Boolean

Declaration
bool Boolean { get; }
Property Value
Type Description
System.Boolean
Remarks

The following process is used for evaluation:

Boolean values are evaluated as is null is false Non-zero number values are true Everything else is true

| Improve this Doc View Source

Date

Gets the contained value as a System.DateTimeOffset

Declaration
DateTimeOffset Date { get; }
Property Value
Type Description
System.DateTimeOffset
| Improve this Doc View Source

Dictionary

Gets the contained value as a DictionaryObject

Declaration
DictionaryObject Dictionary { get; }
Property Value
Type Description
DictionaryObject
| Improve this Doc View Source

Double

Gets the contained value as a Double

Declaration
double Double { get; }
Property Value
Type Description
System.Double
Remarks

true will be converted to 1.0, and everything else that is non-numeric will be 0.0

| Improve this Doc View Source

Exists

Gets whether or not this object exists in the hierarchy

Declaration
bool Exists { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Float

Gets the contained value as a System.Single

Declaration
float Float { get; }
Property Value
Type Description
System.Single
Remarks

true will be converted to 1.0f, and everything else that is non-numeric will be 0.0f

| Improve this Doc View Source

Int

Gets the contained value as an System.Int32

Declaration
int Int { get; }
Property Value
Type Description
System.Int32
Remarks

true will be converted to 1, a Double value will be rounded, and everything else non-numeric will be 0

| Improve this Doc View Source

Long

Gets the contained value as an System.Int64

Declaration
long Long { get; }
Property Value
Type Description
System.Int64
Remarks

true will be converted to 1, a Double value will be rounded, and everything else non-numeric will be 0

| Improve this Doc View Source

String

Gets the contained value as a String

Declaration
string String { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Value

Gets the value of the fragment as an untyped object

Declaration
object Value { get; }
Property Value
Type Description
System.Object
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX