System.WideStrings.TWideStrings.Assign

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Assign(Source: TPersistent); override;

C++

virtual void __fastcall Assign(System::Classes::TPersistent* Source);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.WideStrings.pas
System.WideStrings.hpp
System.WideStrings TWideStrings

Description

Sets the strings in the list, and possibly associated objects, from a source object.

Use Assign to set the value of the TWideStrings object from another object. If Source is of type TWideStrings, the list is set to the list of the source TWideStrings object, and if associated objects are supported, any associated objects are copied from the Source as well.

If Source is not of type TWideStrings, the inherited Assign will set the value of the list from any object that supports TWideStrings in its AssignTo method.

See Also