IPWorks Cloud 2020 Python Edition

Questions / Feedback?

resource_type Property

The resource's type.

Syntax

def get_resource_type(resource_index: int) -> int: ...

Default Value

0

Remarks

The resource's type.

This property indicates whether the resource is a folder or a file. Possible values are:

0 (drtFile) A file.
1 (drtFolder) A folder.

The resource_index parameter specifies the index of the item in the array. The size of the array is controlled by the resource_count property.

This property is read-only.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 Python Edition - Version 20.0 [Build 8265]