StaticContextSettings.DefaultElementNamespace PropertyStaticContextSettings.DefaultElementNamespace PropertyStaticContextSettings::DefaultElementNamespace Property

Gets the default namespace for element and type names.

Syntax

Public ReadOnly Property DefaultElementNamespace As String
        Get
public string DefaultElementNamespace { get; }
public:
property String^ DefaultElementNamespace {
    String^ get();
}
 

Property Value

Type: System.StringSystem.StringSystem::String^

A stringStringString representing the default namespace for elements and types.

Remarks

The default element namespace is the namespace bound to the empty prefix by the IXmlNamespaceResolverIXmlNamespaceResolverIXmlNamespaceResolver specified by the NamespacesNamespacesNamespaces property.

This is a namespace URI or EmptyEmptyEmpty. The namespace URI, if present, is used for any unprefixed qualified names appearing in a position where an element or type name is expected.

This can be overridden with a declare default element namespace declaration in the query.