Επεξεργασία

Κοινή χρήση μέσω


XmlNamespaceManager.HasNamespace(Text) Method

Version: Available or changed with runtime version 1.0.

Gets a value indicating whether the supplied prefix has a namespace defined for the current scope.

Syntax

HasNamespace :=   XmlNamespaceManager.HasNamespace(Prefix: Text)

Parameters

XmlNamespaceManager
 Type: XmlNamespaceManager
An instance of the XmlNamespaceManager data type.

Prefix
 Type: Text
The prefix of the namespace you want to find.

Return Value

HasNamespace
 Type: Boolean
true if the supplied prefix has a namespace defined for the current scope, otherwise false.

XmlNamespaceManager Data Type
Get Started with AL
Developing Extensions