StaticContextSettings.DeclareVariable Method (XmlQualifiedName)StaticContextSettings.DeclareVariable Method (XmlQualifiedName)StaticContextSettings::DeclareVariable Method (XmlQualifiedName^)
- XmlPrime 4.0
- Other Versions ▼
Declares an external variable with the specified name.
Syntax
Public Sub DeclareVariable( _ name As System.Xml.XmlQualifiedName _ )
public void DeclareVariable( System.Xml.XmlQualifiedName name )
public: void DeclareVariable( System.Xml::XmlQualifiedName^ name )
Parameters
- name
Type: System.Xml.XmlQualifiedNameSystem.Xml.XmlQualifiedNameSystem.Xml::XmlQualifiedName^
The qualified name of the variable
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException | name is null
a null reference (Nothing in Visual Basic)
nullptr . |
Remarks
Calling this method is equivalent to the following XQuery declaration:
declare variable external;