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.
Inherited Members
Namespace: VersOne.Epub.Schema
Assembly: VersOne.Epub.dll
Syntax
public class Epub2NcxContent
Constructors
View SourceEpub2NcxContent(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 |
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 |
string | source | An IRI that resolves to a content document or a fragment within the EPUB book. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | The |
Properties
View SourceId
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 SourceSource
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 SourceToString()
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. |