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.


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.ChildAt, FolderItem.Child or FolderItem.Constructor.


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

See Also

FolderItem.Child, FolderItem.ChildAt, FolderItem.Constructor