diff options
Diffstat (limited to 'docs/HtmlAgilityPack/HtmlElementFlag.cs')
-rw-r--r-- | docs/HtmlAgilityPack/HtmlElementFlag.cs | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/docs/HtmlAgilityPack/HtmlElementFlag.cs b/docs/HtmlAgilityPack/HtmlElementFlag.cs new file mode 100644 index 00000000000..01232cda8ed --- /dev/null +++ b/docs/HtmlAgilityPack/HtmlElementFlag.cs @@ -0,0 +1,32 @@ +// HtmlAgilityPack V1.0 - Simon Mourier <simon underscore mourier at hotmail dot com>
+using System;
+
+namespace HtmlAgilityPack
+{
+ /// <summary>
+ /// Flags that describe the behavior of an Element node.
+ /// </summary>
+ [Flags]
+ public enum HtmlElementFlag
+ {
+ /// <summary>
+ /// The node is a CDATA node.
+ /// </summary>
+ CData = 1,
+
+ /// <summary>
+ /// The node is empty. META or IMG are example of such nodes.
+ /// </summary>
+ Empty = 2,
+
+ /// <summary>
+ /// The node will automatically be closed during parsing.
+ /// </summary>
+ Closed = 4,
+
+ /// <summary>
+ /// The node can overlap.
+ /// </summary>
+ CanOverlap = 8
+ }
+}
\ No newline at end of file |