Collation ClassCollation ClassCollation Class
Represents a collation for use in XQuery and XPath functions.
Inheritance Hierarchy
- System.ObjectSystem.ObjectSystem::Object
- XmlPrime.CollationXmlPrime.CollationXmlPrime::Collation
The CollationCollationCollation
type exposes the following members.
Constructors
Properties
Property | Description | |
---|---|---|
![]() ![]() | CodepointCollationCodepointCollationCodepointCollation | Gets the codepoint collation. |
Methods
Method | Description | |
---|---|---|
![]() | AreEqualAreEqualAreEqual | Compares two specified stringStringString values for equality under this collation. |
![]() | CompareCompareCompare | Compares two specified stringStringString objects under this collation. |
![]() ![]() | CultureCollation (CultureInfo)CultureCollation (CultureInfo)CultureCollation (CultureInfo^) | Creates a new CollationCollationCollation instance which uses a CultureInfoCultureInfoCultureInfo to perform string comparisons. |
![]() ![]() | CultureCollation (CultureInfo, XmlCaseOrder)CultureCollation (CultureInfo, XmlCaseOrder)CultureCollation (CultureInfo^, XmlCaseOrder) | Creates a new CollationCollationCollation instance which uses a CultureInfoCultureInfoCultureInfo and XmlCaseOrderXmlCaseOrderXmlCaseOrder to perform string comparisons. |
![]() | EndsWithEndsWithEndsWith | Returns a boolean value indicating whether one string ends with a specified suffix under this collation. |
![]() | Object.EqualsObject.EqualsObject::Equals | Determines whether the specified objectObjectobject is equal to the current objectObjectobject. (Inherited from System.ObjectSystem.ObjectSystem::Object) |
![]() | Object.FinalizeObject.FinalizeObject::Finalize | Allows an objectObjectobject to attempt to free resources and perform other cleanup operations before the objectObjectobject is reclaimed by garbage collection. (Inherited from System.ObjectSystem.ObjectSystem::Object) |
![]() | Object.GetHashCodeObject.GetHashCodeObject::GetHashCode | Serves as a hash function for a particular type. (Inherited from System.ObjectSystem.ObjectSystem::Object) |
![]() | GetSortKeyGetSortKeyGetSortKey | Gets the sort key for the specified stringStringString as a byte array under this collation. |
![]() | Object.GetTypeObject.GetTypeObject::GetType | Gets the TypeTypeType of the current instance. (Inherited from System.ObjectSystem.ObjectSystem::Object) |
![]() | IndexOfIndexOfIndexOf | Returns the index of the first occurrence of a stringStringString within another stringStringString under this collation. |
![]() | IsEmptyIsEmptyIsEmpty | Returns a boolean value indicating whether a stringStringString is equal to the empty string under this collation. |
![]() | Object.MemberwiseCloneObject.MemberwiseCloneObject::MemberwiseClone | Creates a shallow copy of the current objectObjectobject. (Inherited from System.ObjectSystem.ObjectSystem::Object) |
![]() | StartsWithStartsWithStartsWith | Returns a boolean value indicating whether one string starts with a specified prefix under this collation. |
![]() | SubstringAfterSubstringAfterSubstringAfter | Returns the substring of a stringStringString that follows the first occurrence of the specified substring under this collation. |
![]() | SubstringBeforeSubstringBeforeSubstringBefore | Returns the substring of a stringStringString that precedes the first occurrence of the the specified substring. |
![]() | Object.ToStringObject.ToStringObject::ToString | Returns a stringStringString that represents the current objectObjectobject. (Inherited from System.ObjectSystem.ObjectSystem::Object) |
Remarks
A collation is used to determine the sorting order of strings of characters.
Built in implementations of CollationCollationCollation are accessible through the CultureCollation (CultureInfo, XmlCaseOrder)CultureCollation (CultureInfo, XmlCaseOrder)CultureCollation (CultureInfo^, XmlCaseOrder) method and the CodepointCollationCodepointCollationCodepointCollation property.