StaticContextSettings.DeclareKey MethodStaticContextSettings.DeclareKey MethodStaticContextSettings::DeclareKey Method

Declares a key.

Syntax

Public Sub DeclareKey( _
    name As System.Xml.XmlQualifiedName, _
    match As String, _
    use As String, _
    collation As AnyUri _
)
public void DeclareKey(
    System.Xml.XmlQualifiedName name,
    string match,
    string use,
    AnyUri collation
)
public:
void DeclareKey(
    System.Xml::XmlQualifiedName^ name, 
    String^ match, 
    String^ use, 
    AnyUri^ collation
)
 

Parameters

name

Type: System.Xml.XmlQualifiedNameSystem.Xml.XmlQualifiedNameSystem.Xml::XmlQualifiedName^

The qualified name of the key.

match

Type: System.StringSystem.StringSystem::String^

An XSLT pattern which identifies all nodes that match constitute the key.

use

Type: System.StringSystem.StringSystem::String^

An XPath expression which defines the key value.

collation

Type: XmlPrime.AnyUriXmlPrime.AnyUriXmlPrime::AnyUri^

The collation to use when deciding whether two strings are equal for the purposes of key matching, or null a null reference (Nothing in Visual Basic) nullptr to use the default collation.