XmlSerializationWriter.FromXmlNCName(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.