FileLib Xojo and Real Studio plugin |
|
FolderItemInfo.DesktopLabelNumber Method
Reads or writes the label number for the specified file.
DesktopLabelNumber() as Int32
DesktopLabelNumber(
assigns value as Int32)
Parameters
- value (assignment parameter)
- When using the setter then this is the value to set.
Returns
- Int32
- When using the getter then the label number is returned as integer. Or -1 if there was error.
Remarks
Linux and Windows systems have no concept for file labels so this function is not supported on those platforms. It is perfectly valid to call this function on the unsupported platforms but it will only return zero there.
OS X 10.10 Yosemite allows the user to set more than one label on same file. We don't know of a way to set or get more than one at this time from programming API.
See Also
FolderItemInfo Class