Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

CStringElementTraitsI Class

This class provides static functions related to strings stored in collection class objects. It is similar to CStringElementTraits, but performs case-insensitive comparisons.

   typename T, 
   class CharTraits = CDefaultCharTraits< T::XCHAR > 
class CStringElementTraitsI : public CElementTraitsBase< T >


The type of data to be stored in the collection.

This class provides static functions for comparing strings and for creating a hash value. These functions are useful when using a collection class to store string-based data. Use CStringRefElementTraits when the string objects are to be with dealt with as references.

For more information, see ATL Collection Classes.

Header: atlcoll.h

Community Additions

© 2015 Microsoft