Sign in Join
FPDoc Onlineexperiment

TCustomVariantType.Create constructor

Member of TCustomVariantTypepublicIn unit Variants

Instantiate a new custom variant type.

Declaration

pascal
constructor Create; overload
constructor Create(RequestedVarType: tvartype); overload

Arguments

RequestedVarType

New custom variant type number.

Description

Create sets up the necessary reference counting mechanisms to act as an interface, and assigns the new variant type identifier. If specified, the RequestedVarType is the variant type that is registered. if it is zero, a new identifier is assigned.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.