MetadataSearchRedaction class
MetadataSearchRedaction class
Represents a metadata redaction that searches and redacts metadata using regular expressions, matching keys and/or values.
Inheritance: MetadataSearchRedaction →
MetadataRedaction →
Redaction
The MetadataSearchRedaction type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
| init | Initializes a new instance of MetadataSearchRedaction class, using value to match redacted items. |
| init | Initializes a new instance of MetadataSearchRedaction class, using item name and value to match redacted items. |
Properties
| Property | Description |
|---|---|
| description | Returns a string, describing the redaction and its parameters. |
| filter | Gets or sets the filter, which is used to select all or specific metadata, for example Author or Company. |
| replacement | Gets the textual replacement value. |
Methods
| Method | Description |
|---|---|
| apply_to | Applies the redaction to a given format instance. |
Remarks
Learn more | | | |
Example
The following example demonstrates how to search and redact certain text in specific metadata.
See Also
- module
groupdocs.redaction.redactions - class
MetadataRedaction - class
MetadataSearchRedaction - class
Redaction