NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlTextWriter.EncodeNames

Gets or sets a value indicating whether to encode element and attribute names according to the XML Names specification.

[Visual Basic]
Public Property EncodeNames As Boolean
[C#]
public bool EncodeNames {get; set;}
[C++]
public: __property bool get_EncodeNames();
public: __property void set_EncodeNames(bool);
[JScript]
public function get EncodeNames() : Boolean;
public function set EncodeNames(Boolean);

Property Value

true to encode; otherwise, false.

Default is false.

Remarks

The complement of this is the DecodeNames flag on the XmlTextReader.

See Also

XmlTextWriter Class | XmlTextWriter Members | System.NewXml Namespace