ISensitivityLabelCollection

ISensitivityLabelCollection interface

Represents a collection of sensitivity labels applied to the document.

public interface ISensitivityLabelCollection : IEnumerable<ISensitivityLabel>

Properties

NameDescription
Count { get; }Gets the number of all elements in the collection. Read-only Int32.
Item { get; }Returns the sensitivity label by index. Read-only ISensitivityLabel.

Methods

NameDescription
Add(ISensitivityLabel)Adds a SensitivityLabel to the collection.
Add(string, Guid, bool, SensitivityLabelAssignmentType)Adds the sensitivity label at the end of the collection.
Clear()Removes all elements from the collection.
RemoveAt(int)Removes the sensitivity label at the specified index.

See Also