Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: string ToString(object, bool)

  • Declared in: RT.TagSoup.Tag

Declaration

public static string ToString(
    object tagTree,
    bool allTags = false
)

Summary

Converts a tag tree into a single string.

Parameters

objecttagTree The tag tree to convert.
boolallTags The HTML specification allows certain start and end tags to be omitted. Specify true to emit such tags regardless, for compatibility reasons.

Returns

The entire tag tree as a single string.