ITcSmTreeItem6

Inherits from: ITcSmTreeItem5

Expanded by: ITcSmTreeItem7

ITcSmTreeItem6 adds properties for items that can be moved to separate files and, optionally, signed, encrypted, or assigned an Object Protection Level GUID. These properties apply only to items that can be saved in their own file. For other items, the getters return neutral values, and the setters do nothing and return S_OK.

Properties

Property

Type

get/set

Description

EncryptFile

VARIANT_BOOL

get/set

Whether the file is encrypted. For items that do not support SCC, the getter returns VARIANT_FALSE, and the setter does nothing.

ObjectProtectionLevel

BSTR

get/set

Object Protection Level as a name or GUID. When reading, the GUID is resolved into a name whenever possible. Otherwise, the GUID is returned as a string.

SaveInOwnFile

VARIANT_BOOL

get/set

Whether the item is saved in its own file. The setter changes the state only if the command is enabled.

SignFile

VARIANT_BOOL

get/set

Whether the file is signed. For items that do not support SCC, the getter returns VARIANT_FALSE, and the setter does nothing.

Methods

(none)