Show / Hide Table of Contents

Class Epub2NcxContent

Pointer to the book's content associated with a navigational element.

See https://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.4.1, https://daisy.org/activities/standards/daisy/daisy-3/z39-86-2005-r2012-specifications-for-the-digital-talking-book/#NCX, and http://www.daisy.org/z3986/2005/ncx-2005-1.dtd for more information.

Inheritance
object
Epub2NcxContent
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VersOne.Epub.Schema
Assembly: VersOne.Epub.dll
Syntax
public class Epub2NcxContent

Constructors

View Source

Epub2NcxContent(string)

Initializes a new instance of the Epub2NcxContent class with the specified source.

Declaration
public Epub2NcxContent(string source)
Parameters
Type Name Description
string source

An IRI that resolves to a content document or a fragment within the EPUB book.

Exceptions
Type Condition
ArgumentNullException

The source parameter is null.

View Source

Epub2NcxContent(string?, string)

Initializes a new instance of the Epub2NcxContent class with specified ID and source.

Declaration
public Epub2NcxContent(string? id, string source)
Parameters
Type Name Description
string id

The unique identifier of the content pointer or null if the identifier is not specified.

string source

An IRI that resolves to a content document or a fragment within the EPUB book.

Exceptions
Type Condition
ArgumentNullException

The source parameter is null.

Properties

View Source

Id

Gets the unique identifier of the content pointer or null if the identifier is not specified.

See http://www.daisy.org/z3986/2005/ncx-2005-1.dtd for more information.

Declaration
public string? Id { get; }
Property type: string
View Source

Source

Gets an IRI that resolves to a content document or a fragment within the EPUB book.

See http://www.daisy.org/z3986/2005/ncx-2005-1.dtd for more information.

Declaration
public string Source { get; }
Property type: string

Methods

View Source

ToString()

Returns a string containing the value of the Source property for debugging purposes.

Declaration
public override string ToString()
Returns
Type Description
string

A string containing the value of the Source property.

Overrides
object.ToString()
  • View Source
In this article
Back to top Generated by DocFX