MetadataAction Class

Definition

An Action meant that specifies what meta data information should be added to the content.

public class MetadataAction : Microsoft.InformationProtection.Policy.Actions.Action
type MetadataAction = class
    inherit Action
Public Class MetadataAction
Inherits Action
Inheritance
MetadataAction

Constructors

MetadataAction(String, List<String>, List<MetadataEntry>)

Creates a new MetadataAction. This constructor is only public to allow using this class in code testing

MetadataAction(String, List<String>, List<MetadataEntry>)

Creates a new MetadataAction. This constructor is only public to allow using this class in code testing

Properties

ActionType

The type of derived action this base class can be cast to

(Inherited from Action)
Id

The id of the action

(Inherited from Action)
MetadataToAdd

The list of metadata entries. The meta-data needs to be added to content meta-data.

MetadataToRemove

The list of names of meta-data that need to be removed from content.

Applies to