类 ContentLabel

应用于某一内容(通常是文档)的 Microsoft 信息保护 标签的抽象。 它还保存特定应用标签实例的属性。

总结

成员 说明
public std::chrono::time_point<std::chrono::system_clock> GetCreationTime() const 获取标签的创建时间。
public AssignmentMethod GetAssignmentMethod() const 获取标签的赋值方法。
public const std::vector<MetadataEntry>& GetExtendedProperties() const 获取扩展属性。
public bool IsProtectionAppliedFromLabel() const 获取标签是否应用了保护。
public std::shared_ptr<Label> GetLabel() const 获取应用于内容的实际标签对象。

成员

GetCreationTime 函数

获取标签的创建时间。

返回结果:创建时间。

GetAssignmentMethod 函数

获取标签的赋值方法。

返回:AssignmentMethod STANDARD |PRIVILEGED |自动。

请参阅:mip::AssignmentMethod

GetExtendedProperties 函数

获取扩展属性。

返回:扩展属性。

IsProtectionAppliedFromLabel 函数

获取标签是否应用了保护。

返回:如果存在模板保护,并且此标签为 true,则为 false。

GetLabel 函数

获取应用于内容的实际标签对象。

返回:应用于内容的标签对象。

请参阅:mip::Label