XmlTextWriter.QuoteChar Property
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.
Gets or sets which character to use to quote attribute values.
public:
property char QuoteChar { char get(); void set(char value); };
public char QuoteChar { get; set; }
member this.QuoteChar : char with get, set
Public Property QuoteChar As Char
Property Value
The character to use to quote attribute values. This must be a single quote (') or a double quote ("). The default is a double quote.
Exceptions
Setting this property to something other than either a single or double quote.
Remarks
Note
Starting with the .NET Framework 2.0, we recommend that you create XmlWriter instances by using the XmlWriter.Create method and the XmlWriterSettings class to take advantage of new functionality.
Applies to
Athugasemdir
https://aka.ms/ContentUserFeedback.
Væntanlegt: Á árinu 2024 munum við hætta með GitHub-mál sem ábendingaleið fyrir efni og skipta því út fyrir nýtt ábendingakerfi. Frekari upplýsingar er að finna hér:Senda inn og skoða endurgjöf fyrir