Bewerken

Share via


XmlSerializationReader.IsXmlnsAttribute(String) Method

Definition

Determines whether an XML attribute name indicates an XML namespace.

This API supports the product infrastructure and is not intended to be used directly from your code.

protected:
 bool IsXmlnsAttribute(System::String ^ name);
protected bool IsXmlnsAttribute (string name);
member this.IsXmlnsAttribute : string -> bool
Protected Function IsXmlnsAttribute (name As String) As Boolean

Parameters

name
String

The name of an XML attribute.

Returns

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

Remarks

The protected members of 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.

Applies to