System.Xml.Serialization.XmlSerializationReader.IsXmlnsAttribute Method

Determines whether an XML attribute name indicates an XML namespace.

Syntax

protected bool IsXmlnsAttribute (string name)

Parameters

name
The name of an XML attribute.

Returns

true if the XML attribute name indicates an XML namespace; otherwise, false.

Remarks

The protected members of System.Xml.Serialization.XmlSerializationReader are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.

An attribute name indicates an XML namespace if it takes the form xmlns:key, where "key" is the namespace name.

Requirements

Namespace: System.Xml.Serialization
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0