Navigation: Code Documentation > RSCommon > GValue > Classes > TGCustomValue > Methods
TGCustomValue.SetAsVariant(Variant) Method
Stores a variant in the object. The previous value is discarded.
Namespace: GValue
Delphi
protected procedure SetAsVariant( const AValue: Variant ); virtual;
Parameters
AValue
Type: Variant
•GValue.TGCustomValue.VType
•TGCustomValue
•GValue