XmlWriterSettings.DoNotEscapeUriAttributes 属性

定义

获取或设置一个值,该值指示 XmlWriter 是否未转义 URI 属性。

public:
 property bool DoNotEscapeUriAttributes { bool get(); void set(bool value); };
public bool DoNotEscapeUriAttributes { get; set; }
member this.DoNotEscapeUriAttributes : bool with get, set
Public Property DoNotEscapeUriAttributes As Boolean

属性值

trueXmlWriter如果 不转义 URI 属性,则为 ;否则为 false。 默认值为 false

适用于