TypeUnsafeVariantOperations

Implements a type unsafe variant operations manager object.

Implements: AbstractVariantOperations

Description

The TypeUnsafeVariantOperations class allows you to implement a type unsafe variant operations manager object.

Constructors

NewTypeUnsafeVariantOperations

Creates a new instance of the component

NewTypeUnsafeVariantOperations() *TypeUnsafeVariantOperations

Methods

Convert

Converts a variant to a specified type.

(c *TypeUnsafeVariantOperations) Convert(value *Variant, newType int) (*Variant, error)

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