Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: void WriteToFile(string, bool)

  • Declared in: RT.TagSoup.Tag

Declaration

public void WriteToFile(
    string filename,
    bool allTags = false
)

Summary

Creates a new file and outputs this tag and all its contents to it.

Parameters

stringfilename The path and filename of the file to create. If the file already exists, it will be overwritten.
boolallTags The HTML specification allows certain start and end tags to be omitted. Specify true to emit such tags regardless, for compatibility reasons.