Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

EpubContentEdit

Namespace OfficeIMO.Epub
Assembly OfficeIMO.Epub
Modifiers sealed

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

Inheritance

  • Object
  • EpubContentEdit

Usage

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

Accepted by parameters

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 System.String requiredposition: 0
elementId System.String requiredposition: 1
expected System.Xml.Linq.XElement requiredposition: 2
replacement System.Xml.Linq.XElement requiredposition: 3

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.