Table of Contents

Method WriteComment

Namespace
Alternet.FormDesigner.Wpf.XamlDom
Assembly
Alternet.FormDesigner.Wpf.v10.dll

WriteComment(string)

When overridden in a derived class, writes out a comment <!--...--> containing the specified text.

public override void WriteComment(string text)

Parameters

text string

Text to place inside the comment.

Exceptions

ArgumentException

The text would result in a non-well-formed XML document.

InvalidOperationException

An XmlWriter method was called before a previous asynchronous operation finished. In this case, InvalidOperationException is thrown with the message “An asynchronous operation is already in progress.”