FolderItem.Alias

From Xojo Documentation

Revision as of 15:26, 7 October 2019 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

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

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

See Also

FolderItem.TrueItem, FolderItem.TrueChild, GetTrueFolderItem