FileInfo.hasAttribute

Checks if a file info structure has an attribute named attribute.

class FileInfo
bool
hasAttribute
(
string attribute
)

Parameters

attribute string

a file attribute key.

Return Value

Type: bool

TRUE if info has an attribute named attribute, FALSE otherwise.