FileInfo.getAttributeString

Gets the value of a string attribute. If the attribute does not contain a string, NULL will be returned.

class FileInfo
string
getAttributeString
(
string attribute
)

Parameters

attribute string

a file attribute key.

Return Value

Type: string

the contents of the attribute value as a UTF-8 string, or NULL otherwise.