TCustomVariantType.Create¶
Instantiate a new custom variant type.
Declaration¶
Source position: variants.pp line 203
public
constructor Create; overload; overload;
constructor Create(RequestedVarType: tvartype); overload; 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. |