SpreadsheetDocumentAreaCollection.Count

Syntax:

Count()

Returned value:

Type: Number.

Description:

Obtains the number of items in a collection.

Availability:

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

Example:

ContentOfParametersTemplate = ThisObject.GetTemplate("Parameters");
For 
IndexOf = 0 To ContentOfParametersTemplate.Areas.Count() - 1 Do
    CurArea    = ContentOfParametersTemplate.Areas[IndexOf];
    PageName   = CurArea.Name;
    // ...
EndDo;


    

1C:Enterprise Developer's Community