MetadataSearchRedaction Class
Searches and redacts metadata using regular expressions on keys and values
Inheritance Hierarchy

Namespace: GroupDocs.Redaction.Redactions
Assembly: GroupDocs.Redaction (in GroupDocs.Redaction.dll) Version: 19.5
Syntax
public class MetadataSearchRedaction : MetadataRedaction

The MetadataSearchRedaction type exposes the following members.

Constructors
  NameDescription
Public methodMetadataSearchRedaction(String, String)
Create new instance of redaction, using value to match redacted items
Public methodMetadataSearchRedaction(Regex, String)
Create new instance of redaction, using value to match redacted items
Public methodMetadataSearchRedaction(String, String, String)
Create new instance of redaction, using item name and value to match redacted items
Public methodMetadataSearchRedaction(Regex, String, Regex)
Create new instance of redaction, using item name and value to match redacted items
Properties
  NameDescription
Public propertyFilter
Filter is used to select all or specific metadata, e.g. Author or Company
(Inherited from MetadataRedaction.)
Public propertyKeyExpression
Regular expression, used to match name (key) of metadata item
Public propertyReplacement
Textual replacement
Public propertyValueExpression
Regular expression, used to match value of metadata item
Methods
  NameDescription
Protected methodApplyFilter
Applies current Filter to given metadata dictionary" />
(Inherited from MetadataRedaction.)
Public methodApplyTo(DocumentFormatInstance)
Applies redaction to given format instance
(Inherited from MetadataRedaction.)
Protected methodApplyTo(MetadataItem, IMetadataAccess)
Applies redaction to given metadata item
(Overrides MetadataRedactionApplyTo(MetadataItem, IMetadataAccess).)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodIsApplicableTo
Checks if this redaction could be applied to given metadata item
(Overrides MetadataRedactionIsApplicableTo(MetadataItem).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also