[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Cast a custom variant to another type
Source position: variants.pp line 201
public procedure TCustomVariantType.CastTo( |
var Dest: TVarData; |
const Source: TVarData; |
const aVarType: TVarType |
); virtual; |
Dest |
|
Variant to store the cast value in |
Source |
|
Custom variant to cast to new type aVarType |
aVarType |
|
Variant type to cast the custom variant to |
CastTo is called when a custom variant value Source is cast to a variant type aVarType and stores the result in Dest. Descendents must override this method to provide the desired conversion behaviour.
|
Cast a custom variant to another type |
|
|
Cast variant value to OLE value |