Variant Class |
The Variant type exposes the following members.
| Name | Description | |
|---|---|---|
| Variant | Default constructor for the Variant class. Constructs a variant of undefined type without a value. | |
| Variant(Boolean) | Constructor for the Variant class. Constructs a variant with the specified value of the bool type. | |
| Variant(Color) | Constructor for the Variant class. Constructs a variant with the specified color value. | |
| Variant(Double) | Constructor for the Variant class. Constructs a variant with the specified value of the double type. | |
| Variant(Int32) | Constructor for the Variant class. Constructs a variant with the specified value of the long integer type. | |
| Variant(String) | Constructor for the Variant class. Constructs a variant with the specified string value. |
| Name | Description | |
|---|---|---|
| AutoDelete | Property that indicates whether the object should be
automatically deleted by the Garbage Collector. (Inherited from DisposableWrapper) |
|
| Boolean | Property that represents current value if the variant type is Boolean. | |
| Char | Property that represents current value if the variant type is char. | |
| Color | Property that represents current value if the variant type is color. | |
| Double | Property that represents current value if the variant type is double. | |
| Float | Property that represents current value if the variant type is float. | |
| Int | Property that represents current value if the variant type is integer. | |
| IsDisposed | Property that indicates whether pointer to native code
unmanaged object == IntPtr::Zero. (Inherited from DisposableWrapper) |
|
| Long | Property that represents current value if the variant type is long. | |
| Short | Property that represents current value if the variant type is short. | |
| String | Property that represents current value if the variant type is string. | |
| Type | Property that represents type of a current value. | |
| Uchar | Property that represents current value if the variant type is unsigned char. | |
| Uint | Property that represents current value if the variant type is unsigned integer. | |
| Ulong | Property that represents current value if the variant type is unsigned long. | |
| UnmanagedObject | Property that represents a pointer to an unmanaged
object. (Inherited from DisposableWrapper) |
|
| Ushort | Property that represents current value if the variant type is unsigned short. |
| Name | Description | |
|---|---|---|
| Clone | Creates a *clone* of this object, and returns a pointer to the
*clone*. (Inherited from RXObject) |
|
| CompareTo | Allows classes to compare class objects. (Inherited from RXObject) |
|
| CopyFrom(RXObject) | Copies the contents of the specified object into this
object. (Inherited from RXObject) |
|
| CopyFrom(Variant) | Copies the contents of the specified object into this object. | |
| CreateObjRef | (Inherited from MarshalByRefObject) |
|
| DeleteElem | If the variant's type is VariantType.Table, deletes the element with the specified string key from the table. For other types, the method is invalid. | |
| Dispose | (Inherited from DisposableWrapper) |
|
| ElemAt | If the variant's type is kTable, gets the key and OdGiVariant value from the table using the specified index. For other types, the method is invalid. | |
| ElemCount | If the variant's type is Table, returns the number of the table's elements. For other types, the method is invalid. | |
| Equals | Checks objects for equality. (Overrides DisposableWrapperEquals(Object)) |
|
| get_Elem(String) | If the variant's type is Table, gets the Variant value from the table using the specified key. For other types, the method is invalid. | |
| get_Elem(String, Variant) | If the variant's type is Table, gets the variant value from the table using the specified key. For other types, the method is invalid. | |
| GetHashCode | Retrieves the object hash code. (Inherited from DisposableWrapper) |
|
| GetLifetimeService | (Inherited from MarshalByRefObject) |
|
| GetMetaObject | (Inherited from RXObject) |
|
| GetRXClass | Gets a class describing instance dynamically associated with
this object as the OdRxClass object. (Inherited from RXObject) |
|
| GetType | (Inherited from Object) |
|
| InitializeLifetimeService | (Inherited from MarshalByRefObject) |
|
| QueryX | Checks whether the object belongs to the specified class and
returns a pointer to this object if this object can be converted to
the specified class. (Inherited from RXObject) |
|
| set_Elem | If the variant's type is Table, sets the variant value from the table using the specified key. For other types, the method is invalid. If a key is not found, a new table with the specified key is created. | |
| ToString | (Inherited from Object) |
|
| X | Checks whether the object belongs to the specified class and
returns a pointer to this object if this object can be converted to
the specified class, or throws an exception if it cannot. (Inherited from RXObject) |
| © Bricsys NV. All rights reserved. |