Use ICollationIterator to iterate through the available collation objects. You can specify whether to look only at host objects, only at portable objects, or at both (the default). ICollationIterator provides a create function that returns the collation object currently referenced by the iterator.
ICollationIterator iter;
bool notFound = true;
ILocaleKey key;
while ( notFound && (iter) ) {
key.setPOSIXID(iter.localePOSIXID());
if (key.languageID == "FR") {
ICollation* order = iter.create();
notFound = false;
} else {
iter++;
}
}
delete order;