MetadataSearchRedaction

MetadataSearchRedaction(string, string)

Initializes a new instance of MetadataSearchRedaction class, using value to match redacted items.

public MetadataSearchRedaction(string valuePattern, string replacement)
Parameter Type Description
valuePattern String Regular expression to search and replace
replacement String Textual replacement

See Also


MetadataSearchRedaction(string, string, string)

Initializes a new instance of MetadataSearchRedaction class, using item name and value to match redacted items.

public MetadataSearchRedaction(string valuePattern, string replacement, string keyPattern)
Parameter Type Description
valuePattern String Regular expression to search and replace metadata item value
replacement String Textual replacement
keyPattern String Regular expression to search and replace metadata item name

See Also


MetadataSearchRedaction(Regex, string)

Initializes a new instance of MetadataSearchRedaction class, using value to match redacted items.

public MetadataSearchRedaction(Regex valueRegex, string replacement)
Parameter Type Description
valueRegex Regex Regular expression to search and replace
replacement String Textual replacement

See Also


MetadataSearchRedaction(Regex, string, Regex)

Initializes a new instance of MetadataSearchRedaction class, using item name and value to match redacted items.

public MetadataSearchRedaction(Regex valueRegex, string replacement, Regex keyRegex)
Parameter Type Description
valueRegex Regex Regular expression to search and replace metadata item value
replacement String Textual replacement
keyRegex Regex Regular expression to search and replace metadata item name

See Also