|
ctrlX Data Layer .NET API
4.3.0
|
![]() |
Provides the implementation for IVariant. More...
Public Member Functions | |
Variant () | |
Initializes a new instance of the Variant class. | |
Variant (bool value) | |
Initializes a new instance of the Variant class. | |
Variant (bool[] value) | |
Initializes a new instance of the Variant class. | |
Variant (byte value) | |
Initializes a new instance of the Variant class. | |
Variant (byte[] value, bool raw=false) | |
Initializes a new instance of the Variant class. | |
Variant (ByteBuffer flatBuffers) | |
Initializes a new instance of the Variant class. | |
Variant (DateTime value) | |
Initializes a new instance of the Variant class. | |
Variant (DateTime[] value) | |
Initializes a new instance of the Variant class. | |
Variant (double value) | |
Initializes a new instance of the Variant class. | |
Variant (double[] value) | |
Initializes a new instance of the Variant class. | |
Variant (FlatBufferBuilder builder) | |
Initializes a new instance of the Variant class. | |
Variant (float value) | |
Initializes a new instance of the Variant class. | |
Variant (float[] value) | |
Initializes a new instance of the Variant class. | |
Variant (int value) | |
Initializes a new instance of the Variant class. | |
Variant (int[] value) | |
Initializes a new instance of the Variant class. | |
Variant (IVariant other) | |
Initializes a new instance of the Variant class. | |
Variant (long value) | |
Initializes a new instance of the Variant class. | |
Variant (long[] value) | |
Initializes a new instance of the Variant class. | |
Variant (sbyte value) | |
Initializes a new instance of the Variant class. | |
Variant (sbyte[] value) | |
Initializes a new instance of the Variant class. | |
Variant (short value) | |
Initializes a new instance of the Variant class. | |
Variant (short[] value) | |
Initializes a new instance of the Variant class. | |
Variant (string value) | |
Initializes a new instance of the Variant class. | |
Variant (string[] value) | |
Initializes a new instance of the Variant class. | |
Variant (uint value) | |
Initializes a new instance of the Variant class. | |
Variant (uint[] value) | |
Initializes a new instance of the Variant class. | |
Variant (ulong value) | |
Initializes a new instance of the Variant class. | |
Variant (ulong[] value) | |
Initializes a new instance of the Variant class. | |
Variant (ushort value) | |
Initializes a new instance of the Variant class. | |
Variant (ushort[] value) | |
Initializes a new instance of the Variant class. | |
DLR_RESULT | CheckConvert (DLR_VARIANT_TYPE type) |
Checks if the Variant is convertable to given data type. | |
Variant | Clone () |
Clones the instance. | |
void | Dispose () |
Disposes the instance. | |
override bool | Equals (object obj) |
Returns a value that indicates if this Variant equals given object. | |
bool | Equals (Variant other) |
Returns a value that indicates if this Variant equals given Variant. | |
DLR_RESULT IVariant value | GetDataFromFlatbuffers (IVariant typeFlatbuffers, string query) |
override int | GetHashCode () |
Gets the HashCode of this Variant. | |
bool | ToBool () |
Gets the value as bool. | |
bool[] | ToBoolArray () |
Gets the value as bool array. | |
byte | ToByte () |
Gets the value as byte. | |
byte[] | ToByteArray () |
Gets the value as byte array. | |
DateTime | ToDateTime () |
Converts the value to a timestamp. | |
DateTime[] | ToDateTimeArray () |
Gets the value as DateTime array. | |
double | ToDouble () |
Gets the value as double. | |
double[] | ToDoubleArray () |
Gets the value as double array. | |
ByteBuffer | ToFlatbuffers () |
Gets the value as Flatbuffers. | |
float | ToFloat () |
Gets the value as float. | |
float[] | ToFloatArray () |
Gets the value as float array. | |
short | ToInt16 () |
Gets the value as short. | |
short[] | ToInt16Array () |
Gets the value as short array. | |
int | ToInt32 () |
Gets the value as int. | |
int[] | ToInt32Array () |
Gets the value as int array. | |
long | ToInt64 () |
Gets the value as long. | |
long[] | ToInt64Array () |
Gets the value as long array. | |
byte[] | ToRawByteArray () |
Gets the value as raw byte array (UTF8). | |
sbyte | ToSByte () |
Gets the value as sbyte. | |
sbyte[] | ToSByteArray () |
Gets the value as sbyte array. | |
override string | ToString () |
Gets the value as string. | |
string[] | ToStringArray () |
Gets the value as string array. | |
ushort | ToUInt16 () |
Gets the value as ushort. | |
ushort[] | ToUInt16Array () |
Gets the value as ushort array. | |
uint | ToUInt32 () |
Gets the value as uint. | |
uint[] | ToUInt32Array () |
Gets the value as uint array. | |
ulong | ToUInt64 () |
Gets the value as ulong. | |
ulong[] | ToUInt64Array () |
Gets the value as ulong array. | |
DLR_RESULT | CheckConvert (DLR_VARIANT_TYPE dataType) |
Gets a value that indicates whether the variant can be converted to another type. | |
Variant | Clone () |
Clones the value. | |
bool | Equals (Variant other) |
Gets a value that indicates whether the values are equal. | |
DLR_RESULT IVariant value | GetDataFromFlatbuffers (IVariant typeFlatbuffers, string query) |
int | GetHashCode () |
Gets the hash code of the variant. | |
bool | ToBool () |
Converts the value to bool. | |
bool[] | ToBoolArray () |
Converts the value to an array of bool value. | |
byte | ToByte () |
Converts the value to an 8-bit unsigned integer. | |
byte[] | ToByteArray () |
Converts the value to an array of 8-bit unsigned integers. | |
DateTime | ToDateTime () |
Converts the value to DateTime. | |
DateTime[] | ToDateTimeArray () |
Converts the value to an array of DateTime. | |
double | ToDouble () |
Converts the value to a double-precision floating-point number. | |
double[] | ToDoubleArray () |
Converts the value to an array of double-precision floating-point numbers. | |
ByteBuffer | ToFlatbuffers () |
Converts the value to flatbuffers. | |
float | ToFloat () |
Converts the value to float. | |
float[] | ToFloatArray () |
Converts the value to an array of float. | |
short | ToInt16 () |
Converts the value to a 16-bit signed integer. | |
short[] | ToInt16Array () |
Converts the value to an array of 16-bit signed integers. | |
int | ToInt32 () |
Converts the value to a 32-bit signed integer. | |
int[] | ToInt32Array () |
Converts the value to an array of 32-bit signed integers. | |
long | ToInt64 () |
Converts the value to a 64-bit signed integer. | |
long[] | ToInt64Array () |
Converts the value to an array of 64-bit signed integers. | |
byte[] | ToRawByteArray () |
Converts the value to an array of 8-bit raw integers. | |
sbyte | ToSByte () |
Converts the value to an 8-bit signed integer. | |
sbyte[] | ToSByteArray () |
Converts the value to an array of an 8-bit signed integers. | |
string | ToString () |
Converts the value to string. If the value can't be converted for any reason, an empty string is returned. For arrays and numbers an empty string is returned (not implemented yet). | |
string[] | ToStringArray () |
Converts the value to an array of strings. | |
ushort | ToUInt16 () |
Converts the value to a 16-bit unsigned integer. | |
ushort[] | ToUInt16Array () |
Converts the value to an array of 16-bit unsigned integers. | |
uint | ToUInt32 () |
Converts the value to a 32-bit unsigned integer. | |
uint[] | ToUInt32Array () |
Converts the value to an array of 32-bit unsigned integers. | |
ulong | ToUInt64 () |
Converts the value to a 64-bit unsigned integer. | |
ulong[] | ToUInt64Array () |
Converts the value to an array of 64-bit unsigned integers. | |
Static Public Member Functions | |
static implicit | operator Variant (bool source) |
Implicit operator. | |
static implicit | operator Variant (bool[] source) |
Implicit operator. | |
static implicit | operator Variant (byte source) |
Implicit operator. | |
static implicit | operator Variant (byte[] source) |
Implicit operator. | |
static implicit | operator Variant (ByteBuffer source) |
Implicit operator. | |
static implicit | operator Variant (DateTime source) |
Implicit operator. | |
static implicit | operator Variant (DateTime[] source) |
Implicit operator. | |
static implicit | operator Variant (double source) |
Implicit operator. | |
static implicit | operator Variant (double[] source) |
Implicit operator. | |
static implicit | operator Variant (FlatBufferBuilder source) |
Implicit operator. | |
static implicit | operator Variant (float source) |
Implicit operator. | |
static implicit | operator Variant (float[] source) |
Implicit operator. | |
static implicit | operator Variant (int source) |
Implicit operator. | |
static implicit | operator Variant (int[] source) |
Implicit operator. | |
static implicit | operator Variant (long source) |
Implicit operator. | |
static implicit | operator Variant (long[] source) |
Implicit operator. | |
static implicit | operator Variant (sbyte source) |
Implicit operator. | |
static implicit | operator Variant (sbyte[] source) |
Implicit operator. | |
static implicit | operator Variant (short source) |
Implicit operator. | |
static implicit | operator Variant (short[] source) |
Implicit operator. | |
static implicit | operator Variant (string source) |
Implicit operator. | |
static implicit | operator Variant (string[] source) |
Implicit operator. | |
static implicit | operator Variant (uint source) |
Implicit operator. | |
static implicit | operator Variant (uint[] source) |
Implicit operator. | |
static implicit | operator Variant (ulong source) |
Implicit operator. | |
static implicit | operator Variant (ulong[] source) |
Implicit operator. | |
static implicit | operator Variant (ushort source) |
Implicit operator. | |
static implicit | operator Variant (ushort[] source) |
Implicit operator. | |
static bool | operator!= (Variant l, Variant r) |
s Unequality Operator. | |
static bool | operator== (Variant l, Variant r) |
Equality Operator. | |
Public Attributes | |
DLR_RESULT | result |
Gets data of a complex Variant (flatbuffers) by query. | |
![]() | |
DLR_RESULT | result |
Gets data of a complex Variant (flatbuffers) by query. | |
Static Public Attributes | |
static readonly int | DefaultFlatbuffersInitialSize = 1024 |
Gets the default Flatbuffers initial size in bytes. | |
static readonly Variant | Empty = new Variant(string.Empty) |
Gets a Variant with empty string value. | |
static readonly Variant | False = new Variant(false) |
Gets a Variant with boolean value 'false'. | |
static readonly Variant | Null = new Variant() |
Gets a Variant with no value of data type 'DLR_VARIANT_TYPE_UNKNOWN'. | |
static readonly Variant | One = new Variant(1) |
Gets a Variant with value '1' of data type 'int' (Int32). | |
static readonly Variant | True = new Variant(true) |
Gets a Variant with boolean value 'true'. | |
static readonly Variant | Zero = new Variant(0) |
Gets a Variant with value '0' of data type 'int' (Int32). | |
Protected Member Functions | |
virtual void | Dispose (bool disposing) |
Disposes the instance. | |
Properties | |
DLR_VARIANT_TYPE | DataType [get] |
Gets the data type. | |
bool | IsArray [get] |
Gets a value that indicates whether the Variant is an array. | |
bool | IsBool [get] |
Gets a value that indicates whether the Variant contains a boolean value. | |
bool | IsDisposed [get] |
Gets a value that indicates whether the instance is disposed. | |
bool | IsFlatbuffers [get] |
Gets a value that indicates whether the Variant contains Flatbuffers. | |
bool | IsNull [get] |
Gets a value that indicates whether the Variant is null. | |
bool | IsNumber [get] |
Gets a value that indicates whether the Variant contains a numeric value. Returns false for numeric arrays and booleans. | |
bool | IsString [get] |
Gets a value that indicates whether the Variant contains a string value. | |
string | JsonDataType [get] |
Gets the Json data type. | |
object | Value [get] |
Gets the value. | |
![]() | |
DLR_VARIANT_TYPE | DataType [get] |
Gets the data type of the variant. | |
bool | IsArray [get] |
Checks if the value is an array. | |
bool | IsBool [get] |
Gets a value that indicates whether the Variant contains a boolean value. | |
bool | IsFlatbuffers [get] |
Checks if the value is flatbuffers. | |
bool | IsNull [get] |
Checks if the value is null. | |
bool | IsNumber [get] |
Gets a value that indicates whether the Variant contains a numeric value Returns false for numeric arrays and booleans. | |
bool | IsString [get] |
Gets a value that indicates whether the Variant contains a string value. | |
string | JsonDataType [get] |
Gets the data type as JSON string. | |
object | Value [get] |
Gets the value of the variant. | |
![]() | |
bool | IsDisposed [get] |
Checks disposed. | |
Provides the implementation for IVariant.
Definition at line 17 of file Variant.cs.
|
inline |
Initializes a new instance of the Variant class.
Definition at line 130 of file Variant.cs.
Referenced by Variant.Clone(), and Variant.operator Variant().
Initializes a new instance of the Variant class.
ArgumentNullException | Argument cannot be null. |
InvalidOperationException | Object can't be created |
Definition at line 143 of file Variant.cs.
|
inline |
Initializes a new instance of the Variant class.
value | The value of the Variant. |
InvalidOperationException | Object can't be created |
Definition at line 165 of file Variant.cs.
|
inline |
Initializes a new instance of the Variant class.
value | The value of the Variant. |
InvalidOperationException | Object can't be created |
ArgumentNullException | Argument cannot be null. |
Definition at line 180 of file Variant.cs.
|
inline |
Initializes a new instance of the Variant class.
value | The value of the Variant. |
InvalidOperationException | Object can't be created |
Definition at line 194 of file Variant.cs.
|
inline |
Initializes a new instance of the Variant class.
value | The value of the Variant. |
InvalidOperationException | Object can't be created |
Definition at line 208 of file Variant.cs.
|
inline |
Initializes a new instance of the Variant class.
value | The value of the Variant. |
InvalidOperationException | Object can't be created |
Definition at line 222 of file Variant.cs.
|
inline |
Initializes a new instance of the Variant class.
value | The value of the Variant. |
InvalidOperationException | Object can't be created |
Definition at line 236 of file Variant.cs.
|
inline |
Initializes a new instance of the Variant class.
value | The value of the Variant. |
InvalidOperationException | Object can't be created |
Definition at line 250 of file Variant.cs.
|
inline |
Initializes a new instance of the Variant class.
value | The value of the Variant. |
InvalidOperationException | Object can't be created |
Definition at line 264 of file Variant.cs.
|
inline |
Initializes a new instance of the Variant class.
value | The value of the Variant. |
InvalidOperationException | Object can't be created |
Definition at line 278 of file Variant.cs.
|
inline |
Initializes a new instance of the Variant class.
value | The value of the Variant. |
InvalidOperationException | Object can't be created |
Definition at line 292 of file Variant.cs.
|
inline |
Initializes a new instance of the Variant class.
value | The value of the Variant. |
InvalidOperationException | Object can't be created |
Definition at line 306 of file Variant.cs.
|
inline |
Initializes a new instance of the Variant class.
value | The value of the Variant. |
InvalidOperationException | Object can't be created |
Definition at line 320 of file Variant.cs.
|
inline |
Initializes a new instance of the Variant class.
value | The value of the Variant. |
InvalidOperationException | Object can't be created |
Definition at line 334 of file Variant.cs.
|
inline |
Initializes a new instance of the Variant class.
value | The value of the Variant. |
InvalidOperationException | Object can't be created |
ArgumentNullException | Argument cannot be null. |
Definition at line 349 of file Variant.cs.
|
inline |
Initializes a new instance of the Variant class.
value | The value of the Variant. |
InvalidOperationException | Object can't be created |
ArgumentNullException | Argument cannot be null. |
Definition at line 364 of file Variant.cs.
|
inline |
Initializes a new instance of the Variant class.
value | The value of the Variant. |
InvalidOperationException | Object can't be created |
ArgumentNullException | Argument cannot be null. |
Definition at line 379 of file Variant.cs.
|
inline |
Initializes a new instance of the Variant class.
value | The value of the Variant. |
InvalidOperationException | Object can't be created |
ArgumentNullException | Argument cannot be null. |
Definition at line 394 of file Variant.cs.
|
inline |
Initializes a new instance of the Variant class.
value | The value of the Variant. |
InvalidOperationException | Object can't be created |
ArgumentNullException | Argument cannot be null. |
Definition at line 409 of file Variant.cs.
|
inline |
Initializes a new instance of the Variant class.
value | The value of the Variant. |
InvalidOperationException | Object can't be created |
ArgumentNullException | Argument cannot be null. |
Definition at line 424 of file Variant.cs.
|
inline |
Initializes a new instance of the Variant class.
value | The value of the Variant. |
raw | If set to true, the data type of the variant is DLR_VARIANT_TYPE_RAW, else DLR_VARIANT_TYPE_ARRAY_OF_UINT8. |
InvalidOperationException | Object can't be created |
ArgumentNullException | Argument cannot be null. |
Definition at line 440 of file Variant.cs.
|
inline |
Initializes a new instance of the Variant class.
value | The value of the Variant. |
InvalidOperationException | Object can't be created |
ArgumentNullException | Argument cannot be null. |
Definition at line 465 of file Variant.cs.
|
inline |
Initializes a new instance of the Variant class.
value | The value of the Variant. |
InvalidOperationException | Object can't be created |
ArgumentNullException | Argument cannot be null. |
Definition at line 480 of file Variant.cs.
|
inline |
Initializes a new instance of the Variant class.
value | The value of the Variant. |
InvalidOperationException | Object can't be created |
ArgumentNullException | Argument cannot be null. |
Definition at line 495 of file Variant.cs.
|
inline |
Initializes a new instance of the Variant class.
value | The value of the Variant. |
InvalidOperationException | Object can't be created |
ArgumentNullException | Argument cannot be null. |
Definition at line 510 of file Variant.cs.
|
inline |
Initializes a new instance of the Variant class.
value | The value of the Variant. |
InvalidOperationException | Object can't be created |
ArgumentNullException | Argument cannot be null. |
Definition at line 525 of file Variant.cs.
|
inline |
Initializes a new instance of the Variant class.
value | The value of the Variant. |
InvalidOperationException | Object can't be created |
ArgumentNullException | Argument cannot be null. |
Definition at line 541 of file Variant.cs.
|
inline |
Initializes a new instance of the Variant class.
flatBuffers | The Flatbuffers. |
InvalidOperationException | Object can't be created |
ArgumentNullException | Argument cannot be null. |
Definition at line 556 of file Variant.cs.
|
inline |
Initializes a new instance of the Variant class.
builder | The FlatBufferBuilder. |
InvalidOperationException | Object can't be created |
ArgumentNullException | Argument cannot be null. |
Definition at line 571 of file Variant.cs.
|
inline |
Checks if the Variant is convertable to given data type.
type | The target type. |
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 1654 of file Variant.cs.
References Variant.IsNull.
|
inline |
Clones the instance.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 1624 of file Variant.cs.
References Variant.Variant(), and Variant.IsDisposed.
|
inline |
Disposes the instance.
Definition at line 116 of file Variant.cs.
References Variant.Dispose().
Referenced by Variant.Dispose().
|
inlineprotectedvirtual |
Disposes the instance.
disposing | False if called by Finalizer, else true. |
Definition at line 70 of file Variant.cs.
References Variant.IsDisposed.
|
inline |
Returns a value that indicates if this Variant equals given object.
obj | The other object. |
Definition at line 594 of file Variant.cs.
References Variant.Equals().
Referenced by Variant.Equals(), Variant.operator!=(), and Variant.operator==().
|
inline |
Returns a value that indicates if this Variant equals given Variant.
other | The other Variant. |
Implements IVariant.
Definition at line 605 of file Variant.cs.
References Variant.DataType, Variant.Equals(), Variant.ToFlatbuffers(), and Variant.Value.
|
inline |
Implements IVariant.
Definition at line 1584 of file Variant.cs.
|
inline |
Gets the HashCode of this Variant.
Implements IVariant.
Definition at line 643 of file Variant.cs.
References Variant.Value.
|
inlinestatic |
Implicit operator.
source | The source |
Definition at line 1675 of file Variant.cs.
References Variant.Variant().
|
inlinestatic |
Implicit operator.
source | The source |
Definition at line 1684 of file Variant.cs.
References Variant.Variant().
|
inlinestatic |
Implicit operator.
source | The source |
Definition at line 1710 of file Variant.cs.
References Variant.Variant().
|
inlinestatic |
|
inlinestatic |
Implicit operator.
source | The source |
Definition at line 1910 of file Variant.cs.
References Variant.Variant().
|
inlinestatic |
Implicit operator.
source | The source |
Definition at line 1883 of file Variant.cs.
References Variant.Variant().
|
inlinestatic |
Implicit operator.
source | The source |
Definition at line 1892 of file Variant.cs.
References Variant.Variant().
|
inlinestatic |
Implicit operator.
source | The source |
Definition at line 1848 of file Variant.cs.
References Variant.Variant().
|
inlinestatic |
|
inlinestatic |
Implicit operator.
source | The source |
Definition at line 1901 of file Variant.cs.
References Variant.Variant().
|
inlinestatic |
Implicit operator.
source | The source |
Definition at line 1831 of file Variant.cs.
References Variant.Variant().
|
inlinestatic |
|
inlinestatic |
Implicit operator.
source | The source |
Definition at line 1760 of file Variant.cs.
References Variant.Variant().
|
inlinestatic |
Implicit operator.
source | The source |
Definition at line 1769 of file Variant.cs.
References Variant.Variant().
|
inlinestatic |
Implicit operator.
source | The source |
Definition at line 1796 of file Variant.cs.
References Variant.Variant().
|
inlinestatic |
Implicit operator.
source | The source |
Definition at line 1805 of file Variant.cs.
References Variant.Variant().
|
inlinestatic |
Implicit operator.
source | The source |
Definition at line 1693 of file Variant.cs.
References Variant.Variant().
|
inlinestatic |
|
inlinestatic |
Implicit operator.
source | The source |
Definition at line 1727 of file Variant.cs.
References Variant.Variant().
|
inlinestatic |
|
inlinestatic |
Implicit operator.
source | The source |
Definition at line 1865 of file Variant.cs.
References Variant.Variant().
|
inlinestatic |
Implicit operator.
source | The source |
Definition at line 1874 of file Variant.cs.
References Variant.Variant().
|
inlinestatic |
Implicit operator.
source | The source |
Definition at line 1778 of file Variant.cs.
References Variant.Variant().
|
inlinestatic |
Implicit operator.
source | The source |
Definition at line 1787 of file Variant.cs.
References Variant.Variant().
|
inlinestatic |
Implicit operator.
source | The source |
Definition at line 1814 of file Variant.cs.
References Variant.Variant().
|
inlinestatic |
|
inlinestatic |
Implicit operator.
source | The source |
Definition at line 1743 of file Variant.cs.
References Variant.Variant().
|
inlinestatic |
s Unequality Operator.
l | The left argument. |
r | The right argument. |
Definition at line 705 of file Variant.cs.
References Variant.Equals().
Equality Operator.
l | The left argument. |
r | The right argument. |
Definition at line 681 of file Variant.cs.
References Variant.Equals().
|
inline |
Gets the value as bool.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 903 of file Variant.cs.
References Variant.IsNull.
|
inline |
Gets the value as bool array.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 1111 of file Variant.cs.
References Variant.IsNull.
|
inline |
Gets the value as byte.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 939 of file Variant.cs.
References Variant.IsNull.
|
inline |
Gets the value as byte array.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 1181 of file Variant.cs.
References Variant.IsNull.
|
inline |
Converts the value to a timestamp.
Implements IVariant.
Definition at line 1064 of file Variant.cs.
References Variant.ToUInt64().
|
inline |
Gets the value as DateTime array.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 1467 of file Variant.cs.
References Variant.ToUInt64Array().
|
inline |
Gets the value as double.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 1093 of file Variant.cs.
References Variant.IsNull.
|
inline |
Gets the value as double array.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 1415 of file Variant.cs.
References Variant.IsNull.
|
inline |
Gets the value as Flatbuffers.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 1520 of file Variant.cs.
References Variant.IsFlatbuffers, and Variant.IsNull.
Referenced by Variant.Equals().
|
inline |
Gets the value as float.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 1075 of file Variant.cs.
References Variant.IsNull.
|
inline |
Gets the value as float array.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 1389 of file Variant.cs.
References Variant.IsNull.
|
inline |
Gets the value as short.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 957 of file Variant.cs.
References Variant.IsNull.
|
inline |
Gets the value as short array.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 1207 of file Variant.cs.
References Variant.IsNull.
|
inline |
Gets the value as int.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 993 of file Variant.cs.
References Variant.IsNull.
|
inline |
Gets the value as int array.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 1267 of file Variant.cs.
References Variant.IsNull.
|
inline |
Gets the value as long.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 1029 of file Variant.cs.
References Variant.IsNull.
|
inline |
Gets the value as long array.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 1328 of file Variant.cs.
References Variant.IsNull.
|
inline |
Gets the value as raw byte array (UTF8).
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 1551 of file Variant.cs.
References Variant.IsNull.
|
inline |
Gets the value as sbyte.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 921 of file Variant.cs.
References Variant.IsNull.
|
inline |
Gets the value as sbyte array.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 1146 of file Variant.cs.
References Variant.IsNull.
|
inline |
Gets the value as string.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 654 of file Variant.cs.
References Variant.IsNull, and Variant.ToUInt32().
|
inline |
Gets the value as string array.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 1441 of file Variant.cs.
References Variant.IsNull.
|
inline |
Gets the value as ushort.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 975 of file Variant.cs.
References Variant.IsNull.
|
inline |
Gets the value as ushort array.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 1233 of file Variant.cs.
References Variant.IsNull.
|
inline |
Gets the value as uint.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 1011 of file Variant.cs.
References Variant.IsNull.
Referenced by Variant.ToString().
|
inline |
Gets the value as uint array.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 1293 of file Variant.cs.
References Variant.IsNull.
|
inline |
Gets the value as ulong.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 1047 of file Variant.cs.
References Variant.IsNull.
Referenced by Variant.ToDateTime().
|
inline |
Gets the value as ulong array.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 1354 of file Variant.cs.
References Variant.IsNull.
Referenced by Variant.ToDateTimeArray().
|
static |
Gets the default Flatbuffers initial size in bytes.
Definition at line 730 of file Variant.cs.
Referenced by MetadataBuilder.MetadataBuilder(), and SubscriptionPropertiesBuilder.SubscriptionPropertiesBuilder().
Gets a Variant with empty string value.
Definition at line 750 of file Variant.cs.
Gets a Variant with boolean value 'false'.
Definition at line 760 of file Variant.cs.
Gets a Variant with no value of data type 'DLR_VARIANT_TYPE_UNKNOWN'.
Definition at line 735 of file Variant.cs.
Gets a Variant with value '1' of data type 'int' (Int32).
Definition at line 745 of file Variant.cs.
DLR_RESULT result |
Gets data of a complex Variant (flatbuffers) by query.
typeFlatbuffers | Type (schema) of the object |
query | Query string |
ArgumentNullException | Argument cannot be null. |
ObjectDisposedException | Cannot access a disposed object. |
Definition at line 1584 of file Variant.cs.
Gets a Variant with boolean value 'true'.
Definition at line 755 of file Variant.cs.
Gets a Variant with value '0' of data type 'int' (Int32).
Definition at line 740 of file Variant.cs.
|
get |
Gets the data type.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 1477 of file Variant.cs.
Referenced by Variant.Equals().
|
get |
Gets a value that indicates whether the Variant is an array.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 867 of file Variant.cs.
|
get |
Gets a value that indicates whether the Variant contains a boolean value.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 855 of file Variant.cs.
|
get |
Gets a value that indicates whether the instance is disposed.
Implements INativeDisposable.
Definition at line 64 of file Variant.cs.
Referenced by Variant.Clone(), and Variant.Dispose().
|
get |
Gets a value that indicates whether the Variant contains Flatbuffers.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 861 of file Variant.cs.
Referenced by Variant.ToFlatbuffers().
|
get |
Gets a value that indicates whether the Variant is null.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 843 of file Variant.cs.
Referenced by Variant.CheckConvert(), Variant.ToBool(), Variant.ToBoolArray(), Variant.ToByte(), Variant.ToByteArray(), Variant.ToDouble(), Variant.ToDoubleArray(), Variant.ToFlatbuffers(), Variant.ToFloat(), Variant.ToFloatArray(), Variant.ToInt16(), Variant.ToInt16Array(), Variant.ToInt32(), Variant.ToInt32Array(), Variant.ToInt64(), Variant.ToInt64Array(), Variant.ToRawByteArray(), Variant.ToSByte(), Variant.ToSByteArray(), Variant.ToString(), Variant.ToStringArray(), Variant.ToUInt16(), Variant.ToUInt16Array(), Variant.ToUInt32(), Variant.ToUInt32Array(), Variant.ToUInt64(), and Variant.ToUInt64Array().
|
get |
Gets a value that indicates whether the Variant contains a numeric value. Returns false for numeric arrays and booleans.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 885 of file Variant.cs.
|
get |
Gets a value that indicates whether the Variant contains a string value.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 849 of file Variant.cs.
|
get |
Gets the Json data type.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 1502 of file Variant.cs.
|
get |
Gets the value.
ObjectDisposedException | Cannot access a disposed object. |
Implements IVariant.
Definition at line 770 of file Variant.cs.
Referenced by Variant.Equals(), and Variant.GetHashCode().