Edit

Label Class

Definition

Abstraction for a single Microsoft Information Protection label.

public class Label
type Label = class
Public Class Label
Inheritance
Label

Constructors

Name Description
Label(String, ActionSource)

Constructor for Label

Properties

Name Description
ActionSource

Gets the action source of the label.

AutoTooltip

The tooltip description of the classification that caused the label to appear.

Children

The children labels of the current label.

Color

The color the label should be displayed, in the format "#RRGGBB" where each of RR, GG, BB is a hexadecimal 0-f

ContentFormats

The content formats supported by the label

CustomSettings

The custom label settings. set by the tenant admin.

Description

The label description

DoubleKeyUrl

The double key url value of the label

HasAdhocProtection

If the label add adhoc protection to the content when applied.

HasDoNotForwardProtection

If the label add do not forward protection to the content when applied.

HasEncryptOnlyProtection

If the label adds encrypt only protection to the content when applied.

HasRightsManagementPolicy

If the label adds protection (encryption) to the content when applied.

Id

The label Id

IsActive

If the label is active.

Name

The label name

Parent

The parent of the current label.

Sensitivity

Sensitivity of the label.

Tooltip

The tooltip description of the label.

Applies to