Share via


SharePointSensitivityLabelInfo Class

Definition

Information about the sensitivity label applied to a SharePoint document.

public class SharePointSensitivityLabelInfo : System.ClientModel.Primitives.IJsonModel<Azure.Search.Documents.KnowledgeBases.Models.SharePointSensitivityLabelInfo>, System.ClientModel.Primitives.IPersistableModel<Azure.Search.Documents.KnowledgeBases.Models.SharePointSensitivityLabelInfo>
type SharePointSensitivityLabelInfo = class
    interface IJsonModel<SharePointSensitivityLabelInfo>
    interface IPersistableModel<SharePointSensitivityLabelInfo>
Public Class SharePointSensitivityLabelInfo
Implements IJsonModel(Of SharePointSensitivityLabelInfo), IPersistableModel(Of SharePointSensitivityLabelInfo)
Inheritance
SharePointSensitivityLabelInfo
Implements

Properties

Name Description
Color

The color that the UI should display for the label, if configured.

DisplayName

The display name for the sensitivity label.

IsEncrypted

Indicates whether the sensitivity label enforces encryption.

Priority

The priority in which the sensitivity label is applied.

SensitivityLabelId

The ID of the sensitivity label.

Tooltip

The tooltip that should be displayed for the label in a UI.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<SharePointSensitivityLabelInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SharePointSensitivityLabelInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SharePointSensitivityLabelInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SharePointSensitivityLabelInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SharePointSensitivityLabelInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to