System.Xml.Serialization.XmlSerializationWriter.FromXmlNmToken Method

Encodes an XML name.

Syntax

protected static string FromXmlNmToken (string nmToken)

Parameters

nmToken
An XML name to be encoded.

Returns

An encoded string.

Remarks

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

The XmlSerializationWriter.FromXmlNmToken(string) method is static.

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