IPWorks Cloud 2020 iOS Edition

Questions / Feedback?

resourceType (property)

The resource type.

Syntax

- (int)resourceType:(int)resourceIndex;

/* Possible Values */
HRT_FILE(0),
HRT_DIRECTORY(1),
HRT_SYM_LINK(2)
public func resourceType(resourceIndex: Int32) throws -> HadoopdfsResourceTypes
public enum HadoopdfsResourceTypes : Int32 { case hrtFile = 0 case hrtDirectory = 1 case hrtSymLink = 2 }

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 ResourceIndex parameter specifies the index of the item in the array. The size of the array is controlled by the ResourceCount property.

This property is read-only.

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