XmlSerializationWriter.FromXmlNmToken(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 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
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour