itemType (property)
The item's type.
Syntax
- (int)itemType:(int)itemIndex;
/* Possible Values */
SFIT_FILE(0),
SFIT_FOLDER(1),
SFIT_LINK(2),
SFIT_NOTE(3),
SFIT_SYMBOLIC_LINK(4)
public func itemType(itemIndex: Int32) throws -> SharefileItemTypes
public enum SharefileItemTypes : Int32 {
case sfitFile = 0
case sfitFolder = 1
case sfitLink = 2
case sfitNote = 3
case sfitSymbolicLink = 4
}
Default Value
0
Remarks
The item's type.
This property reflects the item's type. Possible values are:
- 0 (sfitFile)
- 1 (sfitFolder)
- 2 (sfitLink)*
- 3 (sfitNote)
- 4 (sfitSymbolicLink)*
*In reference to a folder link rather then a link created by one of the class methods or found in the
Links properties.
The ItemIndex parameter specifies the index of the item in the array. The size of the array is controlled by the ItemCount property.
This property is read-only.