TypeSafeVariantOperations

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

Extends: 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.

@override

Variant convert(Variant variant, VariantType newType)

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