TCustomVariantType.Create

Instantiate a new custom variant type

Declaration

Source position: variants.pp line 196

public 
  constructor Create;  Overload;
  constructor Create(RequestedVarType: tvartype);  Overload;

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

Name Description
TCustomVariantType.Destroy Unregister variant type