CollationResolver.CultureCollationResolver PropertyCollationResolver.CultureCollationResolver PropertyCollationResolver::CultureCollationResolver Property
Syntax
Public Shared ReadOnly Property CultureCollationResolver As CollationResolver Get
public static CollationResolver CultureCollationResolver { get; }
public: static property CollationResolver^ CultureCollationResolver { CollationResolver^ get(); }
Property Value
Type: XmlPrime.CollationResolverXmlPrime.CollationResolverXmlPrime::CollationResolver^
A CollationResolverCollationResolverCollationResolver providing collations for .NET cultures.
Remarks
This resolver maps URIs of the form http://www.xmlprime.com/collation/{lang}?case-order={case-order}
to the collation corresponding to the .NET culture lang
. The case-order
parameter is optional,
and may take the values upper-first
, lower-first
indicating the relative order of upper and
lower case characters, or it can take the value ignore
to ignore the case when comparing strings.
For example http://www.xmlprime.com/collation/en-US
corresponds to the American English culture, http://www.xmlprime.com/collation/en-US?case-order=upper-first
corresponds to the American English culture with upper case sorted before lower case, while
http://www.xmlprime.com/collation/de-DE?case-order=ignore
corresponds to the German culture, ignoring case.