Use the class ICharacterPropertyIterator to find the set of Unicode characters with particular properties. This iterator identifies the set of characters with a specified range of properties, based on the IUnicode::ECharacterProperty enum.
UniChar longList[65536];
int n = 0;
// Create the iterator
ICharacterPropertyIterator iter(IUnicode::kUpperCaseLetter,
IUnicode::kLowerCaseLetter);
while(iter) {
// Access the next character with case properties
longList[n] = iter*;
// Advance the iterator
iter++;
n++;
}