Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

EpubContentEdit

OfficeIMO.Epub

Namespace
OfficeIMO.Epub
Assembly
OfficeIMO.Epub
Source revision
3b680b1b6fb1 with working tree changes
Modifiers
sealed

A scoped replacement or deletion guarded by the expected current element.

Inheritance

  • object
  • EpubContentEdit

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

Constructors

public EpubContentEdit(string manifestId, string elementId, XElement expected, XElement? replacement) #

Creates an edit. XML is copied; a null replacement deletes the selected element.

Parameters

manifestId string required
elementId string required
expected System.Xml.Linq.XElement required
replacement System.Xml.Linq.XElement? required

Properties

public string ManifestId { get; } #

The existing content resource identifier.

public string ElementId { get; } #

The existing id or xml:id of the selected element.

public XElement Expected { get; } #

An independent copy of the expected current element.

public XElement? Replacement { get; } #

An independent replacement copy, or null for deletion.