Επεξεργασία

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


XmlSerializationWriter.FromXmlNmToken(String) Method

Definition

Encodes an XML name.

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

protected:
 static System::String ^ FromXmlNmToken(System::String ^ nmToken);
protected static string? FromXmlNmToken (string? nmToken);
protected static string FromXmlNmToken (string nmToken);
static member FromXmlNmToken : string -> string
Protected Shared Function FromXmlNmToken (nmToken As String) As String

Parameters

nmToken
String

An XML name to be encoded.

Returns

An encoded string.

Remarks

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

The FromXmlNmToken method is static.

Applies to