Show / Hide Table of Contents

Interface IDocument

Abstraction for a DOM document.

Inherited Members
IHasDocumentSourceInfo.SourceInfo
IHasNodes.GetChildNodes()
Namespace: ZptSharp.Dom
Assembly: ZptSharp.Abstractions.dll
Syntax
public interface IDocument : IHasDocumentSourceInfo, IHasNodes

Properties

| Improve this Doc View Source

RootNode

Gets the root node for the current document.

Declaration
INode RootNode { get; }
Property Value
Type Description
INode

The root node.

Methods

| Improve this Doc View Source

AddCommentToBeginningOfDocument(String)

Where-supported, adds a comment before the first node node in the document. In cases where the underlying document implementation does not support this, a workaround is acceptable (such as commenting immediately inside the first node).

Declaration
void AddCommentToBeginningOfDocument(string commentText)
Parameters
Type Name Description
System.String commentText
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX