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

Extends: AbstractVariantOperations


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

Instance methods


Converts a variant to a specified type.

public convert(value: Variant, newType: VariantType): Variant

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