FolderItem.IsAlias

From Xojo Documentation

Read-Only Property (As Boolean )
BooleanValue = aFolderItem.IsAlias

Supported for all project types and targets.

Returns True if the item is an alias.

Notes

In most cases, a FolderItem is going to resolve the alias to point to the actual file. If you need the actual alias itself, then you should use FolderItem.TrueItem, FolderItem.TrueChild or GetTrueFolderItem.

Example

Var f As New FolderItem
If f.IsAlias Then
MessageBox("The FolderItem is an alias.")
Else
MessageBox("The FolderItem is not an alias.")
End If

See Also

FolderItem.Child, FolderItem.ChildAt, FolderItem.Constructor