File.GetHidden

Syntax:

GetHidden()

Returned value:

Type: Boolean.
True indicates that the "Hidden" attribute is set for the file; otherwise it is False.

Description:

Receives the value of the "Hidden" file attribute.

Availability:

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

Note:

Applies only to files or directories that actually exist.
To use the method on the web-client, you should preliminarily attach the extension for working with files.

Example:

If Selection.GetHidden() Then
    Message("File "+TrimAll(Selection.Name)+" in hidden.");
EndIf
;

See also:

File, method BeginGettingHidden

    

1C:Enterprise Developer's Community