Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSURLMBS class.

NSURLMBS.IsAlias as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 20.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether the file is an alias.
Example
Var file As folderitem = specialfolder.desktop.child("Hello.txt")

Var url As New NSURLMBS(file)
MsgBox "IsAlias: " + If(url.IsAlias, "yes", "no")

Returns true for alias files.
(Read only property)

NSURLMBS.IsDirectory as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether the resource is a directory.

Available in OS X v10.6 and later.
(Read only property)

NSURLMBS.IsExcludedFromBackup as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether the resource is excluded from all backups of app data.

You can use this property to exclude cache and other app support files which are not needed in a backup. Some operations commonly made to user documents cause this property to be reset to false; consequently, do not use this property on user documents.

Available in OS X v10.8 and later.
(Read only property)

NSURLMBS.IsExecutable as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Key for determining whether the current process (as determined by the EUID) can execute the resource (if it is a file) or search the resource (if it is a directory), returned as a Boolean.

Available in OS X v10.7 and later.
(Read only property)

NSURLMBS.isFileReferenceURL as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns whether the URL is a file reference URL. S

(Read only property)

NSURLMBS.isFileURL as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether the scheme is file.

if myURL.isFileURL is true, then myURL.path is suitable for input into NSFileManager or NSPathUtilities.
(Read only property)

NSURLMBS.IsHidden as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether the resource is normally not displayed to users.

If the resource is hidden because its name begins with a period, setting this value has no effect.
Available in OS X v10.6 and later.
(Read only property)

NSURLMBS.IsMountTrigger as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether the URL is a file system trigger directory, returned as a Boolean.

Traversing or opening a file system trigger directory causes an attempt to mount a file system on the directory.

Available in OS X v10.7 and later.
(Read only property)

NSURLMBS.IsPackage as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether the resource is a file package
Example
Var f As New FolderItem("/Applications/Xcode.app", FolderItem.PathTypeNative)
Var n As New NSURLMBS(f)

If n.IsPackage Then
MessageBox "is a package, bundle or application."
Else
MessageBox "not a bundle"
end if

A true value means that the resource is a file package.
Available in OS X v10.6 and later.
(Read only property)

NSURLMBS.IsReadable as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether the current process (as determined by the EUID) can read the resource.

Available in OS X v10.7 and later.
(Read only property)

NSURLMBS.IsRegularFile as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Determining whether the resource is a regular file, as opposed to a directory or a symbolic link.

Available in OS X v10.6 and later.
(Read only property)

NSURLMBS.IsSymbolicLink as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether the resource is a symbolic link.

Available in OS X v10.6 and later.
(Read only property)

NSURLMBS.IsSystemImmutable as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether the resource's system immutable bit is set.

Available in OS X v10.6 and later.
(Read only property)

NSURLMBS.IsUbiquitousItem as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 22.1 ✅ Yes ❌ No ❌ No ✅ Yes All
True if this item is synced to the cloud, false if it is only a local file.

(Read only property)

NSURLMBS.IsUserImmutable as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether the resource's user immutable bit is set.

Available in OS X v10.6 and later.
(Read only property)

NSURLMBS.IsVolume as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether the resource is the root directory of a volume.

Available in OS X v10.6 and later.
(Read only property)

NSURLMBS.IsWritable as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether the current process (as determined by the EUID) can write to the resource.

Available in OS X v10.7 and later.
(Read only property)

NSURLMBS.Item as FolderItem

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
For the file URLs the corresponding folderitem.

(Read only property)

The items on this page are in the following plugins: MBS MacBase Plugin.


The biggest plugin in space...