File.SetHidden

Syntax:

SetHidden(<Invisibility>)

Parameters:

<Invisibility> (required)

Type: Boolean.
True - enable "Hidden" attribute, False - disable "Hidden" attribute.

Description:

Defines the value of the "Hidden" file attribute.

Availability:

Thin client, server, thick client, external connection, Mobile application (client), Mobile application (server).

Note:

Applies only to files or directories that actually exist.
The method is not applicable in Linux operating system.

Example:

Selection.SetHidden(True);

See also:

File, method BeginSettingHidden

    

1C:Enterprise Developer's Community