JCL Help:TWideStrings.Assign

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Assign sets the list of WideStrings based on the Source parameter.


Pascal

 public procedure Assign(Source: TPersistent); override;


Parameters

Parameters Description
Source: TPersistent An object from which to assign the list. This object must be of type TStrings or TWideStrings.


Description

Assign sets the list of WideStrings based on the Source parameter. If the Source parameter is of type TStrings or TWideStrings, Assign first clears the list and then copies the items from the Source object including associated objects, if any. If Source is not of the correct type Assign simply calls inherited. Note that, as with the AddStrings method, if the Source is of type TStrings the strings are implicitly converted to WideStrings based on the systems locale.


About

Donator

Mike Lischke


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page