StaticContextSettings.DefaultCollation PropertyStaticContextSettings.DefaultCollation PropertyStaticContextSettings::DefaultCollation Property

Gets or sets the default collation URI.

Syntax

Public Property DefaultCollation As AnyUri
        Get
        Set(ByVal value As AnyUri)
public AnyUri DefaultCollation { get; set; }
public:
property AnyUri^ DefaultCollation {
    AnyUri^ get();
    void set(AnyUri^ value);
}
 

Property Value

Type: XmlPrime.AnyUriXmlPrime.AnyUriXmlPrime::AnyUri^

An AnyUriAnyUriAnyUri instance specifying default collation URI.

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullExceptionDefaultCollationDefaultCollationDefaultCollation was set to null a null reference (Nothing in Visual Basic) nullptr.

Remarks

The default collation is the collation that is used by functions and operators that require a collation if no other collation is specified.

A collation is a specification of the manner in which strings and URIs are compared and, by extension, ordered.

By default the value of this property is the default collation is the codepoint collation (http://www.w3.org/2005/xpath-functions/collation/codepoint).

This can be overridden with a declare default collation declaration in a query.