FastInfoset.NET Class Reference for .NET
WriteComment Method (XmlFastInfosetWriter)






The text to place inside the comment.

Writes out a comment containing the specified text.
Syntax
'Declaration
 
Public Overrides NotOverridable Sub WriteComment( _
   ByVal text As System.String _
) 
'Usage
 
Dim instance As XmlFastInfosetWriter
Dim text As System.String
 
instance.WriteComment(text)
public override void WriteComment( 
   System.string text
)
public procedure WriteComment( 
    text: System.String
); override; 
public override function WriteComment( 
   text : System.String
);
public: void WriteComment( 
   System.string* text
) override 
public:
void WriteComment( 
   System.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.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

XmlFastInfosetWriter Class
XmlFastInfosetWriter Members
Base Implementation in WriteComment

Send Feedback