|
ctrlX Data Layer API for .NET 5
2.1.0
|
|
string ToString()
Converts the value to string. If the value can't be converted for any reason, an empty string is retu...
bool IsArray
Checks if the value is an array.
int ToInt32()
Converts the value to a 32-bit signed integer.
byte ToByte()
Converts the value to an 8-bit unsigned integer.
bool IsString
Indicates whether the Variant contains a string value
byte[] ToByteArray()
Converts the value to an array of 8-bit unsigned integers.
int GetHashCode()
Gets the hash code of the variant.
sbyte ToSByte()
Converts the value to an 8-bit signed integer.
long[] ToInt64Array()
Converts the value to an array of 64-bit signed integers.
bool Equals(Variant other)
Checks whether the values are equal.
DLR_VARIANT_TYPE
DLR_VARIANT_TYPE
DLR_RESULT CheckConvert(DLR_VARIANT_TYPE dataType)
Checks whether the variant can be converted to another type.
int[] ToInt32Array()
Converts the value to an array of 32-bit signed integers.
byte[] ToRawByteArray()
Converts the value to an array of 8-bit raw integers.
bool IsBool
Indicates whether the Variant contains a boolean value
bool ToBool()
Converts the value to bool.
uint[] ToUInt32Array()
Converts the value to an array of 32-bit unsigned integers.
short ToInt16()
Converts the value to a 16-bit signed integer.
ulong ToUInt64()
Converts the value to a 64-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.
The native disposable interface
short[] ToInt16Array()
Converts the value to an array of 16-bit signed integers.
ulong[] ToUInt64Array()
Converts the value to an array of 64-bit unsigned integers.
float[] ToFloatArray()
Converts the value to an array of float.
DLR_VARIANT_TYPE DataType
Gets the data type of the variant.
string[] ToStringArray()
Converts the value to an array of strings.
long ToInt64()
Converts the value to a 64-bit signed integer.
double[] ToDoubleArray()
Converts the value to an array of double-precision floating-point numbers.
Variant Clone()
Clones the value.
bool IsNumber
Indicates whether the Variant contains a numeric value Returns false for numeric arrays and booleans
DateTime Timestamp
Gets the time stamp of the variant.
ByteBuffer ToFlatbuffers()
Converts the value to flatbuffers.
object Value
Gets the value of the variant.
double ToDouble()
Converts the value to a double-precision floating-point number.
bool IsNull
Checks if the value is null.
bool IsFlatbuffers
Checks if the value is flatbuffers.
string JsonDataType
Gets the data type as JSON string.
ushort ToUInt16()
Converts the value to a 16-bit unsigned integer.
sbyte[] ToSByteArray()
Converts the value to an array of an 8-bit signed integers.
float ToFloat()
Converts the value to float.
bool[] ToBoolArray()
Converts the value to an array of bool value.