Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ZipArchiveEdits

OfficeIMO.Archives

Namespace
OfficeIMO.Archives
Assembly
OfficeIMO.Archives
Source revision
273d35d5ba8a with working tree changes
Modifiers
sealed

ZIP edits keyed by the original entry's zero-based central-directory ordinal.

Inheritance

  • object
  • ZipArchiveEdits

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.

Accepted by parameters 1

Methods

public void Add(ArchiveWriteEntry entry) #

Appends an authored file or directory after the retained members.

Parameters

entry OfficeIMO.Archives.ArchiveWriteEntry required
public void Remove(int ordinal) #

Removes the original entry at this ordinal. Removing a directory record leaves its child entries in place.

Parameters

ordinal int required
public void Rename(int ordinal, string path) #

Renames the original entry without recompressing it. Renaming a directory record leaves its child names unchanged.

Parameters

ordinal int required
path string required
public void Replace(int ordinal, ArchiveWriteEntry entry) #

Replaces the original entry with an authored file or directory at its position relative to retained entries.

Parameters

ordinal int required
entry OfficeIMO.Archives.ArchiveWriteEntry required

Properties

public IReadOnlyList<string> Names { get; } #

Authored member names in original central-directory order. Directory names end in a separator.