# ArchiveContainer

The member container of an archive, independent of any compression wrapped around it.

Enum 

`OfficeIMO.Archives`

**Namespace**

`OfficeIMO.Archives`

**Assembly**

`OfficeIMO.Archives`

**Source revision**

`0ec96f8dbe73` with working tree changes

**Source**

[ArchiveFormat.cs:4](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveFormat.cs#L4)

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

The member container of an archive, independent of any compression wrapped around it.

## Inheritance

- Enum
- ArchiveContainer

## Usage

Explore 12 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 11

- Field [ArchiveContainer.Ar](/api/archives/officeimo-archives-archivecontainer/#field-ar)
- Field [ArchiveContainer.Cab](/api/archives/officeimo-archives-archivecontainer/#field-cab)
- Field [ArchiveContainer.Cpio](/api/archives/officeimo-archives-archivecontainer/#field-cpio)
- Field [ArchiveContainer.Msi](/api/archives/officeimo-archives-archivecontainer/#field-msi)
- Field [ArchiveContainer.None](/api/archives/officeimo-archives-archivecontainer/#field-none)
- Field [ArchiveContainer.Rar5](/api/archives/officeimo-archives-archivecontainer/#field-rar5)
- Field [ArchiveContainer.RarLegacy](/api/archives/officeimo-archives-archivecontainer/#field-rarlegacy)
- Field [ArchiveContainer.SevenZip](/api/archives/officeimo-archives-archivecontainer/#field-sevenzip)
- Field [ArchiveContainer.Tar](/api/archives/officeimo-archives-archivecontainer/#field-tar)
- Field [ArchiveContainer.Zip](/api/archives/officeimo-archives-archivecontainer/#field-zip)
- Property [ArchiveFormat.Container](/api/archives/officeimo-archives-archiveformat/#property-container)

### Accepted by parameters 1

- Constructor [ArchiveFormat.ArchiveFormat](/api/archives/officeimo-archives-archiveformat/#constructor-ctor-officeimo-archives-archivecontainer-officeimo-archives-archivecompression) parameter `container`

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 ArchiveContainer None` [#](#field-none)

[ArchiveFormat.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveFormat.cs#L6)

No member container: a single compressed stream such as a .gz or .xz file.

Value: `0`

`public const ArchiveContainer Zip` [#](#field-zip)

[ArchiveFormat.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveFormat.cs#L8)

A ZIP archive.

Value: `1`

`public const ArchiveContainer Tar` [#](#field-tar)

[ArchiveFormat.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveFormat.cs#L10)

A POSIX ustar, pax, GNU or v7 TAR archive.

Value: `2`

`public const ArchiveContainer SevenZip` [#](#field-sevenzip)

[ArchiveFormat.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveFormat.cs#L12)

A 7z archive.

Value: `3`

`public const ArchiveContainer Rar5` [#](#field-rar5)

[ArchiveFormat.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveFormat.cs#L14)

A RAR 5.0 archive.

Value: `4`

`public const ArchiveContainer RarLegacy` [#](#field-rarlegacy)

[ArchiveFormat.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveFormat.cs#L16)

A legacy RAR archive identified by the RAR 4 marker.

Value: `5`

`public const ArchiveContainer Cab` [#](#field-cab)

[ArchiveFormat.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveFormat.cs#L18)

A Microsoft Cabinet archive.

Value: `6`

`public const ArchiveContainer Msi` [#](#field-msi)

[ArchiveFormat.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveFormat.cs#L20)

A Windows Installer database with embedded cabinets.

Value: `7`

`public const ArchiveContainer Ar` [#](#field-ar)

[ArchiveFormat.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveFormat.cs#L22)

An ordinary System V/GNU or BSD ar archive, including the outer container of a Debian binary package.

Value: `8`

`public const ArchiveContainer Cpio` [#](#field-cpio)

[ArchiveFormat.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveFormat.cs#L24)

A portable ASCII cpio archive using newc, crc or odc headers.

Value: `9`

<!-- PowerForge markdown artifact sha256:AF9B4ED3F4A7ADF328555C26820C901A5684F06905C20886CE4809DC39164B70 -->
