FolderItem.Alias
From Xojo Documentation
This item was deprecated in version 2019r2. Please use FolderItem.IsAlias as a replacement. |
Read-Only Property (As Boolean )
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
Dim f As New FolderItem
If f.Alias Then
MsgBox("The folderitem is an alias.")
Else
MsgBox("The folderitem is not an alias.")
End If
If f.Alias Then
MsgBox("The folderitem is an alias.")
Else
MsgBox("The folderitem is not an alias.")
End If
See Also
FolderItem.TrueItem, FolderItem.TrueChild, GetTrueFolderItem