Get the number of files in a folder (includes deleted)

Namespace: SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)

Public Shared Function GetFileCount( _ 
ByVal folder_id As EntityID, _ 
ByVal db As IDatabase
) As Long
This language is not supported or no code example is available.
public static long GetFileCount( 
EntityID folder_id
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static long GetFileCount( 
EntityID^ folder_id
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function GetFileCount( 
folder_id : EntityID
db : IDatabase 
) : long;
This language is not supported or no code example is available.

Parameters

folder_id
Type: EntityID

the id of the folder to count fies in

db
Type: IDatabase

the database

Return Value

Type: long

the number of files

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1