1using Google.FlatBuffers;
Provides the implementation for IVariant.
The INativeDisposable interface.
string[] ToStringArray()
Converts the value to an array of strings.
short ToInt16()
Converts the value to a 16-bit signed integer.
long[] ToInt64Array()
Converts the value to an array of 64-bit signed integers.
sbyte ToSByte()
Converts the value to an 8-bit signed integer.
float[] ToFloatArray()
Converts the value to an array of float.
double ToDouble()
Converts the value to a double-precision floating-point number.
string ToString()
Converts the value to string. If the value can't be converted for any reason, an empty string is retu...
sbyte[] ToSByteArray()
Converts the value to an array of an 8-bit signed integers.
ushort[] ToUInt16Array()
Converts the value to an array of 16-bit unsigned integers.
object Value
Gets the value of the variant.
DateTime ToDateTime()
Converts the value to DateTime.
short[] ToInt16Array()
Converts the value to an array of 16-bit signed integers.
double[] ToDoubleArray()
Converts the value to an array of double-precision floating-point numbers.
ByteBuffer ToFlatbuffers()
Converts the value to flatbuffers.
uint ToUInt32()
Converts the value to a 32-bit unsigned integer.
byte ToByte()
Converts the value to an 8-bit unsigned integer.
ulong[] ToUInt64Array()
Converts the value to an array of 64-bit unsigned integers.
bool IsString
Gets a value that indicates whether the Variant contains a string value.
byte[] ToByteArray()
Converts the value to an array of 8-bit unsigned integers.
DLR_RESULT CheckConvert(DLR_VARIANT_TYPE dataType)
Gets a value that indicates whether the variant can be converted to another type.
bool IsNull
Checks if the value is null.
bool Equals(Variant other)
Gets a value that indicates whether the values are equal.
bool IsFlatbuffers
Checks if the value is flatbuffers.
byte[] ToRawByteArray()
Converts the value to an array of 8-bit raw integers.
DLR_VARIANT_TYPE DataType
Gets the data type of the variant.
int GetHashCode()
Gets the hash code of the variant.
DLR_RESULT result
Gets data of a complex Variant (flatbuffers) by query.
bool ToBool()
Converts the value to bool.
uint[] ToUInt32Array()
Converts the value to an array of 32-bit unsigned integers.
long ToInt64()
Converts the value to a 64-bit signed integer.
Variant Clone()
Clones the value.
ulong ToUInt64()
Converts the value to a 64-bit unsigned integer.
string JsonDataType
Gets the data type as JSON string.
bool IsBool
Gets a value that indicates whether the Variant contains a boolean value.
ushort ToUInt16()
Converts the value to a 16-bit unsigned integer.
float ToFloat()
Converts the value to float.
int ToInt32()
Converts the value to a 32-bit signed integer.
bool IsNumber
Gets a value that indicates whether the Variant contains a numeric value Returns false for numeric ar...
int[] ToInt32Array()
Converts the value to an array of 32-bit signed integers.
bool IsArray
Checks if the value is an array.
DateTime[] ToDateTimeArray()
Converts the value to an array of DateTime.
bool[] ToBoolArray()
Converts the value to an array of bool value.
DLR_VARIANT_TYPE
DLR_VARIANT_TYPE.