# EpubReferenceKind

Identifies how an EPUB URL reference resolves.

Enum 

`OfficeIMO.Epub`

**Namespace**

`OfficeIMO.Epub`

**Assembly**

`OfficeIMO.Epub`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[EpubReferenceKind.cs:4](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Epub/EpubReferenceKind.cs#L4)

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

Identifies how an EPUB URL reference resolves.

## Inheritance

- Enum
- EpubReferenceKind

## Usage

Explore 5 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 5

- Property [EpubReference.Kind](/api/epub/officeimo-epub-epubreference/#property-kind)
- Field [EpubReferenceKind.Container](/api/epub/officeimo-epub-epubreferencekind/#field-container)
- Field [EpubReferenceKind.Data](/api/epub/officeimo-epub-epubreferencekind/#field-data)
- Field [EpubReferenceKind.External](/api/epub/officeimo-epub-epubreferencekind/#field-external)
- Field [EpubReferenceKind.Invalid](/api/epub/officeimo-epub-epubreferencekind/#field-invalid)

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

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

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from Enum

Returns

`int`

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

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

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

Inherited from Enum

Returns

`string`

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

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const EpubReferenceKind Invalid` [#](#field-invalid)

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

The reference could not be resolved safely.

Value: `0`

`public const EpubReferenceKind Container` [#](#field-container)

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

The reference resolves to a case-sensitive path in the EPUB container.

Value: `1`

`public const EpubReferenceKind External` [#](#field-external)

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

The reference resolves outside the EPUB container.

Value: `2`

`public const EpubReferenceKind Data` [#](#field-data)

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

The reference is an embedded data: URL.

Value: `3`

<!-- PowerForge markdown artifact sha256:54F61F5E03C7666B2B4474DC37E6AEF450CC0DF62EC62629ED522707BF169039 -->
