Table of Contents

Property this

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

this[string]

Gets or sets the XmpValue associated with the specified local name.

public XmpValue? this[string name] { get; set; }

Parameters

name string

The local name whose associated value should be retrieved or assigned.

Property Value

XmpValue

The XmpValue associated with the specified local name, or null if no such value exists.

Remarks

For both retrieval and assignment, the collection implicitly constructs an XmpPropertyDescriptor using the owner's prefix and namespace for the Prefix and Namespace components, and the provided name for the Name component.

When assigning a value, the setter overwrites any existing entry whose descriptor matches the implicitly constructed descriptor. Assigning null is not allowed and results in an ArgumentNullException.

Exceptions

ArgumentNullException

Thrown when name or the assigned value is null.

ArgumentException

Thrown when name is empty or consists only of whitespace.