Microsoft Information Protection (MIP) SDK for C++: Reference 1.15
Doxygen-generated documentation for MIP SDK written in C++
Loading...
Searching...
No Matches
ContentLabel Class Referenceabstract

Abstraction for a Microsoft Information Protection label that is applied to a piece of content, typically a document. More...

#include <src/api/mip/upe/content_label.h>

Public Member Functions

virtual AssignmentMethod GetAssignmentMethod () const =0
 Get the assignment method of the label.
 
virtual std::chrono::time_point< std::chrono::system_clock > GetCreationTime () const =0
 Get the creation time of the label.
 
virtual const std::vector< MetadataEntry > & GetExtendedProperties () const =0
 Gets extended properties.
 
virtual std::shared_ptr< LabelGetLabel () const =0
 Get the actual label object applied on the content.
 
virtual bool IsProtectionAppliedFromLabel () const =0
 Gets if protection was applied by the label or not.
 

Detailed Description

Abstraction for a Microsoft Information Protection label that is applied to a piece of content, typically a document.

Note
It also holds properties for a specific applied label instance.

Definition at line 50 of file content_label.h.

Member Function Documentation

◆ GetAssignmentMethod()

virtual AssignmentMethod ContentLabel::GetAssignmentMethod ( ) const
pure virtual

Get the assignment method of the label.

Returns
AssignmentMethod STANDARD | PRIVILEGED | AUTO.
See also
mip::AssignmentMethod

◆ GetCreationTime()

virtual std::chrono::time_point< std::chrono::system_clock > ContentLabel::GetCreationTime ( ) const
pure virtual

Get the creation time of the label.

Returns
Creation time.

◆ GetExtendedProperties()

virtual const std::vector< MetadataEntry > & ContentLabel::GetExtendedProperties ( ) const
pure virtual

Gets extended properties.

Returns
Extended properties.

◆ GetLabel()

virtual std::shared_ptr< Label > ContentLabel::GetLabel ( ) const
pure virtual

Get the actual label object applied on the content.

Returns
the label object applied on the content.
See also
mip::Label

◆ IsProtectionAppliedFromLabel()

virtual bool ContentLabel::IsProtectionAppliedFromLabel ( ) const
pure virtual

Gets if protection was applied by the label or not.

Returns
true if there is template protection and it was by this label, else false.

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