コード例 #1
0
            public override string ToString()
            {
                IHtmlElement element = _scope as IHtmlElement;

                if (element != null)
                {
                    return("#" + element.Unique() + " ");
                }
                else if (_scope is IHtmlDocument)
                {
                    return("#document# ");
                }
                else if (_scope is IHtmlFragment)
                {
                    return("#fragment# ");
                }
                else
                {
                    return("#unknow#");
                }
            }