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. We use variant to reduce dependency to other plugins.
(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.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)

NSURLMBS.LocalizedTypeDescription 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 type description, returned as a string.

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

NSURLMBS.Name 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 name in the file system, returned as a string.

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

NSURLMBS.parameterString 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 parameter string conforming to RFC 1808. (read-only)

This property contains the parameter string. If the receiver does not conform to RFC 1808, this property contains nil. For example, in the URL file:///path/to/file;foo, the parameter string is foo.

This property should not be confused with the query property, which also often contains a string of parameters.
(Read only property)

NSURLMBS.ParentDirectoryURL 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 parent directory of the resource, returned as an NSURLMBS object, or nil if the resource is the root directory of its volume.

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

NSURLMBS.password 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 password conforming to RFC 1808. (read-only)

This property contains the password. If the receiver does not conform to RFC 1808, it contains nil. For example, in the URL http://username:password@www.example.com/index.html, the password is password.
(Read only property)

NSURLMBS.path 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 path, conforming to RFC 1808. (read-only)

This property contains the path, unescaped with the stringByReplacingPercentEscapesUsingEncoding: method. If the receiver does not conform to RFC 1808, this property contains nil.

If the receiver contains a file or file reference URL (as determined with isFileURL), this property’s value is suitable for input into methods of NSFileManager or NSPathUtilities. If the path has a trailing slash, it is stripped.

If the receiver contains a file reference URL, this property’s value provides the current path for the referenced resource, which may be nil if the resource no longer exists.

If the parameterString property contains a non-nil value, the path may be incomplete. If the receiver contains an unencoded semicolon, the path property ends at the character before the semicolon. The remainder of the URL is provided in the parameterString property.

To obtain the complete path, if parameterString contains a non-nil value, append a semicolon, followed by the parameter string.

Per RFC 3986, the leading slash after the authority (host name and port) portion is treated as part of the path. For example, in the URL http://www.example.com/index.html, the path is /index.html.

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

NSURLMBS.pathExtension 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 path extension. (read-only)

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

NSURLMBS.port 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 port, conforming to RFC 1808. (read-only)

This property contains the port number. For example, in the URL http://www.example.com:8080/index.php, the port number is 8080.

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.PreferredIOBlockSize 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 preferred block size.

The optimal block size to use when reading or writing this file's data, returned as an integer, or zero if the preferred size is not available (read-only).
Available in OS X v10.7 and later.
(Read only property)

NSURLMBS.QuarantineProperties as Dictionary

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 quarantine properties as defined in LSQuarantine.h.
Example
Var f As FolderItem = SpecialFolder.UserHome.Child("Downloads").Child("Installation.pdf")
Var n As New NSURLMBS(f)
Var d As Dictionary = n.QuarantineProperties

Break // inspect in debugger

Available on Mac OS X 10.10 and later.
(Read only property)

NSURLMBS.query 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 query string, conforming to RFC 1808. (read-only)

This property contains the query string. If the receiver does not conform to RFC 1808, this property contains nil. For example, in the URL http://www.example.com/index.php?key1=value1&key2=value2, the query string is key1=value1&key2=value2.
(Read only property)

NSURLMBS.relativePath 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 relative path, conforming to RFC 1808. (read-only)

This property contains the relative path of the receiver’s URL without resolving against its base URL. If the path has a trailing slash it is stripped. If the receiver is an absolute URL, this property contains the same value as path. If the receiver does not conform to RFC 1808, it contains nil.
(Read only property)

NSURLMBS.relativeString 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 representation of the relative portion of the URL. (read-only)

This property contains a string representation of the relative portion of the URL. If the receiver is an absolute URL this method returns the same value as absoluteString.
(Read only property)

NSURLMBS.resourceSpecifier 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 specifier. (read-only)

This property contains the resource specifier. For example, in the URL http://www.example.com/index.html?key1=value1#jumplink, the resource specifier is //www.example.com/index.html?key1=value1#jumplink (everything after the colon).
(Read only property)

NSURLMBS.scheme 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 scheme. (read-only)

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

The full URL is the concatenation of the scheme, a colon (:), and the value of resourceSpecifier.

The term "protocol" is also sometimes used when talking about network-based URL schemes. However, not all URL schemes are networking protocols—data:// URLs, for example.
(Read only property)

NSURLMBS.standardizedURL 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 copy of the URL with any instances of ".." or "." removed from its path. (read-only)

This property contains a new NSURL object, initialized using the receiver’s path with any instances of ".." or "." removed.

If the URL conforms to RFC 1808 (the most common form of URL), this property contains the specified URL component; otherwise it 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.TypeIdentifier 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 uniform type identifier (UTI), returned as a string.

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

NSURLMBS.VolumeIdentifier 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 unique identifier of the resource’s volume, returned as an id.

The unique identifier of the resource’s volume, returned as an id (read-only).
This identifier can be used with the isEqual method to determine whether two file system resources are on the same volume.
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)

Next items

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


The biggest plugin in space...