Noemax FastInfoset.NET Report an issue | Discuss in forums
XmlFastInfosetWriter.WriteComment(string) Method
See Also 
Noemax.FastInfoset Assembly > Noemax.FastInfoset Namespace > XmlFastInfosetWriter Class : WriteComment Method



text

The text to place inside the comment.

Writes out a comment containing the specified text.


Namespace: Noemax.FastInfoset
Assembly: Noemax.FastInfoset (in Noemax.FastInfoset.dll)

Syntax

Visual Basic (Declaration) 
Overrides Public NotOverridable Sub WriteComment( _
   ByVal text As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As XmlFastInfosetWriter
Dim text As String
 
instance.WriteComment(text)
C# 
public override void WriteComment( 
   string text
)
C++/CLI 
public:
void WriteComment( 
   String^ text
) override 

Parameters

text

The text to place inside the comment.

Remarks

If the text is a null reference (Nothing in Visual Basic) or String.Empty, this method does not write anything.

If RemoveComments is set to true, the writer ignores all calls to this method.

Version Information

.NET Framework

Supported in: 3.5, 3.0, 2.0

.NET Compact Framework

Supported in: 3.5, 2.0

See Also

Reference

XmlFastInfosetWriter Class
XmlFastInfosetWriter Members
Base Implementation in System.Xml.XmlWriter