Noemax FastInfoset.NET
WriteComment Method
See Also  Send Feedback
Noemax.FastInfoset Namespace > XmlFastInfosetWriter Class : WriteComment Method






text

The text to place inside the comment.

Writes out a comment containing the specified text.

Syntax

Visual Basic (Declaration) 
Public Overrides 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
)
Delphi 
public procedure WriteComment( 
    text: String
); override; 
JScript 
public override function WriteComment( 
   text : String
);
Managed Extensions for C++ 
public: void WriteComment( 
   string* text
) override 
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.

See Also