IPolicyEngine.ListSensitivityLabels(String[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
List the sensitivity labels associated with the policy engine.
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.InformationProtection.Label> ListSensitivityLabels (string[] contentFormats = default);
abstract member ListSensitivityLabels : string[] -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.InformationProtection.Label>
Public Function ListSensitivityLabels (Optional contentFormats As String() = Nothing) As ReadOnlyCollection(Of Label)
Parameters
- contentFormats
- String[]
a string array representing the list of formats such as "file", "email" etc
Returns
A list of sensitivity labels according to the provided contentFormats.