File Content Extraction 25.3
Filter SDK C++ Programming Guide

# The MIPLabel Struct

Defined in: `Keyview_Metadata.hpp`

The `MIPLabel` struct is used when visiting metadata values of type `MetadataValueType::MIPLabel`.

MIP labels always provide the information stored in `labelId`, `enabled`, and `siteId`, so those values will always be set. The other members are optional and might be null.

For more information about MIP labels, refer to the Microsoft documentation.

Member | Description
--- | ---
`labelId` | A `std::string`, whose value is a GUID specifying a unique identifier for the label within an organization.
`enabled` | A Boolean indicating whether the classification represented by this set of key-value pairs is enabled for the data item.
`siteId` | A `std::string`, whose value is a GUID specifying the Azure Active Directory Tenant.
`actionId` | A `std::shared_ptr` to a `std::string`, whose value is a GUID that is updated each time a label is set, to allow chaining of labeling activity to the data item. This member is optional, and will be NULL if the file does not contain this field.
`method` | A `std::shared_ptr` to a `std::string`, whose value specifies whether the label was selected manually, or was applied automatically or by default. This member is optional, and will be NULL if the file does not contain this field.
`setDate` | A `std::shared_ptr` to a 64-bit integer, which specifies the timestamp the label was set, in epoch seconds (seconds since the beginning of 01 Jan 1970). This member is optional, and will be NULL if the file does not contain this field.
`name` | A `std::shared_ptr` to a `std::string`, whose value is a unique name within the tenant. This member is optional, and will be NULL if the file does not contain this field.
`contentBits` | A `std::shared_ptr` to a 64-bit integer, whose value is a bitmask that describes the types of content marking that was applied to content based on policy and client capabilities. This member is optional, and will be NULL if the file does not contain this field.

Copyright 1997-2025 Open Text
Version 25.3 | Last updated July 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: File Content Extraction 25.3

Topic Title: The MIPLabel Struct