Microsoft Information Protection SDK - C++ 1.17
API Reference Documentation for C++
Loading...
Searching...
No Matches
MetadataAction Class Referenceabstract

An Action that adds metadata information to the content. More...

#include <metadata_action.h>

Inheritance diagram for MetadataAction:
Action

Public Member Functions

virtual const std::vector< std::string > & GetMetadataToRemove () const =0
 Get the list of names of metadata that should be removed from content.
 
virtual const std::vector< MetadataEntry > & GetMetadataToAdd () const =0
 Get the metadata name/value pairs that should be added to the content.
 
- Public Member Functions inherited from Action
virtual ActionType GetType () const =0
 Get the type of Action.
 

Detailed Description

An Action that adds metadata information to the content.

Member Function Documentation

◆ GetMetadataToAdd()

virtual const std::vector< MetadataEntry > & MetadataAction::GetMetadataToAdd ( ) const
pure virtual

Get the metadata name/value pairs that should be added to the content.

Returns
const std::vector<MetadataEntry>&
Note
Removing metadata should be done before adding metadata.

◆ GetMetadataToRemove()

virtual const std::vector< std::string > & MetadataAction::GetMetadataToRemove ( ) const
pure virtual

Get the list of names of metadata that should be removed from content.

Returns
a vector of strings to remove.
Note
Removing metadata should be done before adding metadata.

The documentation for this class was generated from the following file: