TypeSafeVariantOperations

Implements a strongly typed (type safe) variant operations manager object.

Implements: AbstractVariantOperations

Description

The TypeSafeVariantOperations class allows you to implement a strongly typed (type safe) variant manager object.

Instance methods

convert

Converts a variant to a specified type.

convert(value: Variant, new_type: VariantType): Variant

  • value: Variant - variant value to be converted.
  • new_type: VariantType - type of object to be returned.
  • returns: Variant - converted Variant value.