IStringList
type
IStringList = interface(IStringListBase) ['{A8FDE64F-2A58-434C-972A-ABA62785A467}']
function get_CommaText: string;
procedure set_CommaText(
const Value: string);
function get_Names(
Index: Integer): string;
function get_Values(
const Name: string): string;
procedure set_Values(
const Name: string;
const Value: string);
function get_Strings(
Index: Integer): string;
procedure set_Strings(
Index: Integer;
const Value: string);
function get_Text: string;
procedure set_Text(
const Value: string);
function get_Delimiter: Char;
procedure set_Delimiter(
const Value: Char);
function get_QuoteChar: Char;
procedure set_QuoteChar(
const Value: Char);
function get_DelimitedText: string;
procedure set_DelimitedText(
const Value: string);
function get_CaseSensitive: Boolean;
procedure set_CaseSensitive(
Value: Boolean);
function get_CaseSensitivity: TCaseSensitivity;
procedure set_CaseSensitivity(
Value: TCaseSensitivity);
function get_ValueFromIndex(
Index: Integer): string;
procedure set_ValueFromIndex(
Index: Integer;
const Value: string);
function get_NameValueSeparator: Char;
procedure set_NameValueSeparator(
Value: Char);
function get_LineBreak: string;
procedure set_LineBreak(
const Value: string);
function get_StrictDelimiter: Boolean;
procedure set_StrictDelimiter(
const Value: Boolean);
function get_OwnsObjects: Boolean;
procedure set_OwnsObjects(
Value: Boolean);
procedure Append(
const S: string);
procedure AddStrings(
const Strings: IStringList);
function AddItems(
const Value: IStringList): IStringList;
procedure BeginUpdate;
procedure EndUpdate;
function Equals(
const Strings: IStringList): Boolean;
function IndexOf(
const S: string): Integer;
function IndexOfName(
const Name: string): Integer;
function Remove(
const Value: string): Integer;
procedure LoadFromFile(
const FileName: string);
procedure SaveToFile(
const FileName: string);
function TrimAndPack: Integer;
function get_Duplicates: TDuplicates;
procedure set_Duplicates(
Duplicates: TDuplicates);
function get_Sorted: Boolean;
procedure set_Sorted(
Value: Boolean);
function Find(
const S: string;
var Index: Integer): Boolean;
function Sort: IStringList;
function SortByValues: IStringList;
function SortByNames: IStringList;
function GetAsAssociation: IStringAssociation;
procedure Assign(
const Value: IStringList);
procedure CopyTo(
const Value: IStringList);
procedure SaveStrings(
const Value: IStringList);
procedure StripValues;
procedure StripNames;
function Clone: IStringList;
function ExtractNames: IStringList;
function ExtractValues: IStringList;
function Join(
const Separator: string;
SkipEmptyStrs: Boolean;
const BeginQuote: string;
const EndQuote: string;
const EscapeQuote: string): string;
function JoinMLA(
const Separator: string;
SkipEmptyStrs: Boolean;
const BeginQuote: string;
const EndQuote: string;
const EscapeQuote: string;
const Conjunction: string): string;
function get_First: string;
procedure set_First(
const Value: string);
function get_Last: string;
procedure set_Last(
const Value: string);
function Copy(
Index: Integer;
Count: Integer): IStringList;
function Extract(
Index: Integer;
Count: Integer): IStringList;
function Pop: string;
function PopFirst: string;
function GetEnumerator: TStringListEnumerator;
property CommaText: string read write;
property Text: string read write;
property Delimiter: Char read write;
property DelimitedText: string read write;
property QuoteChar: Char read write;
property CaseSensitive: Boolean read write;
property CaseSensitivity: TCaseSensitivity read write;
property NameValueSeparator: Char read write;
property LineBreak: string read write;
property StrictDelimiter: Boolean read write;
property OwnsObjects: Boolean read write;
property Duplicates: TDuplicates read write;
property Sorted: Boolean read write;
property AsAssociation: IStringAssociation read;
property First: string read write;
property Last: string read write;
property ValueFromIndex[Index: Integer]: string
read get_ValueFromIndex write set_ValueFromIndex;
end;
Ancestor: IStringListBase.
Defined in: DSStringList
⏱ Last Modified: Tue 3:09:18 pm