Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSURLMBS class.

Next items

NSURLMBS.absoluteString as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The URL string for the receiver as an absolute URL.

This property’s value is calculated by resolving the receiver’s string against its base according to the algorithm given in RFC 1808.
(Read only property)

Some examples using this property:

NSURLMBS.absoluteURL as NSURLMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
An absolute URL that refers to the same resource as the receiver.

If the URL is already absolute, this property contains a copy of the receiver. Resolution is performed per RFC 1808.
(Read only property)

NSURLMBS.AddedToDirectoryDate as Date

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The time at which the resource’s was created or renamed into or within its parent directory, returned as an date.

Inconsistent behavior may be observed when this attribute is requested on hard-linked items. This property is not supported by all volumes. (read-only)

Available in OS X v10.10.
(Read only property)

NSURLMBS.AddedToDirectoryDateTime as DateTime

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 20.5 ✅ Yes ❌ No ❌ No ✅ Yes All
The time at which the resource’s was created or renamed into or within its parent directory, returned as an date.

Inconsistent behavior may be observed when this attribute is requested on hard-linked items. This property is not supported by all volumes. (read-only)

Available in OS X v10.10.
(Read only property)

NSURLMBS.AttributeModificationDate as Date

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Modification date.

The time at which the resource’s attributes were most recently modified, returned as an NSDate object if the volume supports attribute modification dates, or nil if attribute modification dates are unsupported.

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

NSURLMBS.AttributeModificationDateTime as DateTime

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 20.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Modification date.

The time at which the resource’s attributes were most recently modified, returned as an NSDate object if the volume supports attribute modification dates, or nil if attribute modification dates are unsupported.

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

NSURLMBS.baseURL as NSURLMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The base URL.

This property contains the base URL. If the receiver is an absolute URL, this property contains nil.
(Read only property)

NSURLMBS.ContentAccessDate as Date

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The time at which the resource was most recently accessed.

Returned as date object if the volume supports access dates, or nil if access dates are unsupported.
Available in OS X v10.6 and later.
(Read only property)

NSURLMBS.ContentAccessDateTime as DateTime

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 20.5 ✅ Yes ❌ No ❌ No ✅ Yes All
The time at which the resource was most recently accessed.

Returned as date object if the volume supports access dates, or nil if access dates are unsupported.
Available in OS X v10.6 and later.
(Read only property)

NSURLMBS.ContentModificationDate as Date

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The modification date.

The time at which the resource was most recently modified, returned as a date object if the volume supports modification dates, or nil if modification dates are unsupported.

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

NSURLMBS.ContentModificationDateTime as DateTime

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 20.5 ✅ Yes ❌ No ❌ No ✅ Yes All
The modification date.

The time at which the resource was most recently modified, returned as a date object if the volume supports modification dates, or nil if modification dates are unsupported.

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

NSURLMBS.CreationDate as Date

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The creation date.

The resource’s creation date, returned as an NSDate object if the volume supports creation dates, or nil if creation dates are unsupported.
Available in OS X v10.6 and later.
(Read only property)

NSURLMBS.CreationDateTime as DateTime

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 20.5 ✅ Yes ❌ No ❌ No ✅ Yes All
The creation date.

The resource’s creation date, returned as an NSDate object if the volume supports creation dates, or nil if creation dates are unsupported.
Available in OS X v10.6 and later.
(Read only property)

NSURLMBS.DocumentIdentifier as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The document identifier returned as a number.

The document identifier is a value assigned by the kernel to a file or directory. This value is used to identify the document regardless of where it is moved on a volume. The identifier persists across system restarts. It is not transferred when the file is copied, but it survives "safe save" operations.
Document identifiers are only unique within a single volume. This property is not supported by all volumes.

Available in OS X v10.10 and iOS 8.0.
(Read only property)

NSURLMBS.EffectiveIcon as Variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The resource’s normal icon, returned as an NSImage object.

Available in OS X v10.6 and later.

Value is a NSImageMBS object.
(Read only property)

NSURLMBS.filePathURL as NSURLMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
A file path URL that points to the same resource as the URL object.

If the receiver is a file reference URL, this property contains a copy of the URL converted to a file path URL. If the receiver’s URL is a file path URL, this property contains the original URL. If the original URL is not a file URL, or if the resource is not reachable or no longer exists, this property contains nil.

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

NSURLMBS.fileReferenceURL as NSURLMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns a new file reference URL that points to the same resource as the receiver.

File reference URLs use a URL path syntax that identifies a file system object by reference, not by path. This form of file URL remains valid when the file system path of the URL’s underlying resource changes.

If the original URL is a file path URL, this property contains a copy of the URL converted into a file reference URL. If the original URL is a file reference URL, this property contains the original. If the original URL is not a file URL, this property contains nil.

File reference URLs cannot be created to file system objects which do not exist or are not reachable. This property contains nil instead.

In some areas of the file system hierarchy, file reference URLs cannot be generated to the leaf node of the URL path.

A file reference URL's path should never be persistently stored, because it is not valid across system restarts or remounts of volumes. If you need to store a persistent reference to a file system object, use a bookmark instead. You can create a bookmark by calling bookmarkDataWithOptions.

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

NSURLMBS.FileResourceIdentifier as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The resource’s unique identifier, returned as an id.

This identifier can be used to determine equality between file system resources with the isEqual: method. Two resources are equal if they have the same file-system path or if their paths link to the same inode on the same file system.

The value of this identifier is not persistent across system restarts.

Available in OS X v10.7 and later.
Returns hex encoded data.
(Read only property)

NSURLMBS.FileResourceType as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The resource’s object type, returned as an NSString object.

See File Resource Types for possible values.
Available in OS X v10.7 and later.
(Read only property)

NSURLMBS.fileSystemRepresentation as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
A string containing the URL’s file system path.

(Read only property)

NSURLMBS.fragment as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The fragment identifier, conforming to RFC 1808. (read-only)

This property contains the URL’s fragment. If the receiver does not conform to RFC 1808, this property contains nil. For example, in the URL http://www.example.com/index.html#jumpLocation, the fragment identifier is jumpLocation.
(Read only property)

NSURLMBS.GenerationIdentifier as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
An opaque generation identifier, returned as an id.

The generation identifier can be compared using isEqual to determine if the data in a document has been modified. For URLs which refer to the same file inode, the generation identifier changes when the data in the file's data fork is changed. Changes to extended attributes or other file system metadata do not change the identifier. For URLs which refer to the same directory inode, the generation identifier changes when direct children of that directory are added, removed or renamed. Changes to the data of the direct children of that directory does not change the generation identifier. The identifier persists across system restarts. It is tied to a specific document on a specific volume and is not transferred when the document is copied to another volume. This property is not supported by all volumes.

Available in OS X v10.10 and iOS 8.0.
(Read only property)

NSURLMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The internal object reference.

Can be used as NSURL* or CFURLRef for declares.
(Read and Write property)

NSURLMBS.HasHiddenExtension 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 extension is normally removed from its localized name.

Returned as a Boolean (read-write).
(Read only property)

NSURLMBS.host as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The host, conforming to RFC 1808. (read-only)

This property contains the host. For example, in the URL http://www.example.com/index.html, the host is www.example.com.

If the receiver does not conform to RFC 1808, this property contains nil. The litmus test for conformance to RFC 1808 is as recommended in RFC 1808—specifically, whether the first two characters of resourceSpecifier are slashes (//).
(Read only property)

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
Dim file As folderitem = specialfolder.desktop.child("Hello.txt")

Dim 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

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)

NSURLMBS.LabelColor as Variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The resource’s label color, returned as an NSColor object, or nil if the resource has no label color.

Available in OS X v10.6 and later.

Value is a NSColorMBS object.
(Read only property)

NSURLMBS.LabelNumber as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The resource’s label number.

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

NSURLMBS.lastPathComponent as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The last path component. (read-only)

This property contains the last path component. For example, in the URL file:///path/to/file, the last path component is file.
Available in OS X v10.6 and later.
(Read only property)

NSURLMBS.LinkCount as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The number of hard links to the resource.

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

NSURLMBS.LocalizedLabel as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The resource’s localized label text, returned as a string, or empty if the resource has no localized label text.

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

NSURLMBS.LocalizedName as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The resource’s localized or extension-hidden name, returned as a string.

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

Next items

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


The biggest plugin in space...