Chilkat .NET
Components for Email, Zip Compression, Encryption, XML, S/MIME, and Character
Encoding Conversion
A supporting class representing a collection of strings.
This Visual C++ .NET class declaration is temporarily provided until the documentation for this class is complete.
namespace Chilkat {
__gc public class StringArray
{
public:
StringArray(void);
~StringArray(void);
StringArray(const StringArray &cc);
// Assignment operator
static StringArray &op_Assign( StringArray &lhs, const StringArray &);
bool LoadFromFile(String *filename);
bool SaveToFile(String *filename);
String *Pop(void);
String *LastString(void);
bool RemoveAt(int index);
bool InsertAt(int index, String *str);
long Find(String *str, int firstIndex);
bool Prepend(String *str);
__property bool get_Crlf();
__property void set_Crlf(bool newVal);
__property bool get_Trim();
__property void set_Trim(bool newVal);
__property bool get_Unique();
__property void set_Unique(bool newVal);
__property int get_Count();
bool AppendSerialized(String *encodedStr);
String *Serialize(void);
String *GetString(int index);
bool Remove(String *str);
bool Contains(String *str);
bool Clear();
bool Append(String *str);
};
}
Copyright 2002, Chilkat Software, Inc. All Rights Reserved.