Show / Hide Table of Contents

Class EpubMetadataMeta

A generic metadata item of the EPUB book.

See https://www.w3.org/publishing/epub32/epub-packages.html#sec-meta-elem, https://www.w3.org/publishing/epub32/epub-packages.html#sec-opf2-meta, and https://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.2 for more information.

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

Constructors

View Source

EpubMetadataMeta(string?, string, string?, string?, string?, string?, EpubTextDirection?, string?)

Initializes a new instance of the EpubMetadataMeta class.

Declaration
public EpubMetadataMeta(string? name, string content, string? id = null, string? refines = null, string? property = null, string? scheme = null, EpubTextDirection? textDirection = null, string? language = null)
Parameters
Type Name Description
string name

The name of the EPUB 2 generic metadata item or null for EPUB 3 generic metadata item.

string content

The content (i.e. value) of the EPUB 2 generic metadata item or the metadata expression of the EPUB 3 generic metadata item.

string id

The unique ID of this EPUB 3 generic metadata item or null if the generic metadata item doesn't have an ID.

string refines

A relative IRI that identifies the resource augmented by the EPUB 3 generic metadata item or null if the generic metadata item doesn't specify any augmentation.

string property

The property data type value that defines the statement being made in the expression (see Content) of the EPUB 3 generic metadata item or null for EPUB 2 generic metadata item.

string scheme

The system or scheme that the expression (see Content) of the EPUB 3 generic metadata item is drawn from or null if the generic metadata item doesn't specify a scheme for the expression.

EpubTextDirection? textDirection

The text direction of this EPUB 3 generic metadata item or null if the generic metadata item doesn't specify a text direction.

string language

The language of this EPUB 3 generic metadata item or null if the generic metadata item doesn't specify the language.

Exceptions
Type Condition
ArgumentNullException

The content parameter is null.

Properties

View Source

Content

Gets the content (i.e. value) of the EPUB 2 generic metadata item or the metadata expression of the EPUB 3 generic metadata item.

See https://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.2 and https://www.w3.org/publishing/epub32/epub-packages.html#sec-meta-elem for more information.

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

Id

Gets the unique ID of this EPUB 3 generic metadata item or null if the generic metadata item doesn't have an ID.

See https://www.w3.org/publishing/epub32/epub-packages.html#attrdef-id for more information.

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

Language

Gets the language of this EPUB 3 generic metadata item or null if the generic metadata item doesn't specify the language.

See https://www.w3.org/publishing/epub32/epub-packages.html#attrdef-xml-lang for more information.

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

Name

Gets the name of the EPUB 2 generic metadata item or null for EPUB 3 generic metadata item.

See https://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.2 for more information.

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

Property

Gets the property data type value that defines the statement being made in the expression (see Content) of the EPUB 3 generic metadata item or null for EPUB 2 generic metadata item.

See https://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.2 and https://www.w3.org/publishing/epub32/epub-packages.html#sec-meta-elem for more information.

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

Refines

Gets a relative IRI that identifies the resource augmented by the EPUB 3 generic metadata item or null if the generic metadata item doesn't specify any augmentation.

See https://www.w3.org/publishing/epub32/epub-packages.html#attrdef-refines for more information.

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

Scheme

Gets the system or scheme that the expression (see Content) of the EPUB 3 generic metadata item is drawn from or null if the generic metadata item doesn't specify a scheme for the expression.

See https://www.w3.org/publishing/epub32/epub-packages.html#attrdef-scheme for more information.

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

TextDirection

Gets the text direction of this EPUB 3 generic metadata item or null if the generic metadata item doesn't specify a text direction.

See https://www.w3.org/publishing/epub32/epub-packages.html#attrdef-dir for more information.

Declaration
public EpubTextDirection? TextDirection { get; }
Property type: EpubTextDirection?
  • View Source
In this article
Back to top Generated by DocFX