Cast variant value to OLE value.
Source position: variants.pp line 209
public procedure TCustomVariantType.CastToOle( |
var Dest: TVarData; |
const Source: TVarData |
); virtual; |
Dest |
|
OLE variant to cast into. |
Source |
|
Custom variant value that must be cast. |
CastToOle is called when a variant must be cast to a value that can be used in OLE variants. Descendents must override this method to provide the desired conversion behaviour.
The TCustomVariantType implementation of CastToOle raises an 'unsupported' exception.
|
Cast a custom variant to another type. |
|
|
Cast a custom variant to another type. |