IPWorks Cloud 2020 Python Edition

Questions / Feedback?

resource_type Property

The resource type.

Syntax

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

Default Value

0

Remarks

The resource type.

This property reflects the resource's type. Possible values are:

0 (hrtFile) A file.
1 (hrtDirectory) A directory.
2 (hrtSymLink) A symlink.

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]