# EpubRootfile

Represents a rootfile declaration from META-INF/container.xml.

Class 

`OfficeIMO.Epub`

**Namespace**

`OfficeIMO.Epub`

**Assembly**

`OfficeIMO.Epub`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[EpubRootfile.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Epub/EpubRootfile.cs#L6)

**Modifiers**

sealed

Represents a rootfile declaration from META-INF/container.xml.

## Inheritance

- object
- EpubRootfile

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [EpubDocument.Rootfiles](/api/epub/officeimo-epub-epubdocument/#property-rootfiles)

Filter members 

Show inherited

## Constructors

`public EpubRootfile()` [#](#constructor-ctor)

[EpubRootfile.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Epub/EpubRootfile.cs#L6)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string FullPath { get; internal set; }` [#](#property-fullpath)

[EpubRootfile.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Epub/EpubRootfile.cs#L6)

Normalized package path in the EPUB container.

`public string? MediaType { get; internal set; }` [#](#property-mediatype)

[EpubRootfile.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Epub/EpubRootfile.cs#L9)

Declared rootfile media type.

`public bool IsAvailable { get; internal set; }` [#](#property-isavailable)

[EpubRootfile.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Epub/EpubRootfile.cs#L12)

Whether the declared rootfile exists in the EPUB container.

`public bool IsSelected { get; internal set; }` [#](#property-isselected)

[EpubRootfile.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Epub/EpubRootfile.cs#L15)

Whether this rootfile was selected for extraction.

<!-- PowerForge markdown artifact sha256:1720B3304F4C5119F4BC84F208949459EA93C988914E0169C1D5318E922D7297 -->
