Επεξεργασία

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


XmlSerializationWriter.FromXmlNCName(String) Method

Definition

Encodes a valid XML local name by replacing characters that are not valid with escape sequences.

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

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

Parameters

ncName
String

A string to be used as a local (unqualified) XML name.

Returns

An encoded string.

Remarks

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

The FromXmlNCName method is static.

Applies to