Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

Previous items

NSURLMBS.NSURLVolumeLocalizedFormatDescriptionKey as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Networking MBS MacBase Plugin 15.2 Yes No No Yes, macOS only No
Function: One of the property keys for volumes.
Notes:
Key for the volume’s descriptive format name, returned as a string (read-only).
Available in OS X v10.6 and later.

Feedback, Comments & Corrections

NSURLMBS.NSURLVolumeLocalizedNameKey as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Networking MBS MacBase Plugin 15.2 Yes No No Yes, macOS only No
Function: One of the property keys for volumes.
Notes:
The name of the volume as it should be displayed in the user interface, returned as a string (read-only).
Available in OS X v10.7 and later.

Feedback, Comments & Corrections

NSURLMBS.NSURLVolumeMaximumFileSizeKey as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Networking MBS MacBase Plugin 15.2 Yes No No Yes, macOS only No
Function: One of the property keys for volumes.
Notes:
Key for the largest file size supported by the volume in bytes, returned as a Boolean, or nil if it cannot be determined (read-only).

Available in OS X v10.7 and later.

Feedback, Comments & Corrections

NSURLMBS.NSURLVolumeNameKey as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Networking MBS MacBase Plugin 15.2 Yes No No Yes, macOS only No
Function: One of the property keys for volumes.
Notes:
The name of the volume, returned as an NSString object (read-write). Settable only if NSURLVolumeSupportsRenamingKey is true.

Available in OS X v10.7 and later.

Feedback, Comments & Corrections

NSURLMBS.NSURLVolumeResourceCountKey as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Networking MBS MacBase Plugin 15.2 Yes No No Yes, macOS only No
Function: One of the property keys for volumes.
Notes:
Key for the total number of resources on the volume, returned as an integer (read-only).
Available in OS X v10.6 and later.

Feedback, Comments & Corrections

NSURLMBS.NSURLVolumeSupportsAdvisoryFileLockingKey as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Networking MBS MacBase Plugin 15.2 Yes No No Yes, macOS only No
Function: One of the property keys for volumes.
Notes:
Key for determining whether the volume implements whole-file advisory locks in the style of flock, along with the O_EXLOCK and O_SHLOCK flags of the open function, returned as a Boolean NSNumber object (read-only).

Available in OS X v10.7 and later.

Feedback, Comments & Corrections

NSURLMBS.NSURLVolumeSupportsCasePreservedNamesKey as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Networking MBS MacBase Plugin 15.2 Yes No No Yes, macOS only No
Function: One of the property keys for volumes.
Example:
dim f as FolderItem = Volume(0)
dim n as new NSURLMBS(f)

dim v as Variant
dim e as NSErrorMBS
if n.getResourceValue(v, n.NSURLVolumeSupportsCasePreservedNamesKey, e) then
MsgBox "VolumeSupportsCasePreservedNames: "+str(v.BooleanValue)
else
MsgBox "Failed to query: "+e.LocalizedDescription
end if
Notes:
Key for determining whether the volume supports case-preserved names, returned as a Boolean (read-only).
Available in OS X v10.6 and later.

Feedback, Comments & Corrections

NSURLMBS.NSURLVolumeSupportsCaseSensitiveNamesKey as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Networking MBS MacBase Plugin 15.2 Yes No No Yes, macOS only No
Function: One of the property keys for volumes.
Example:
dim f as FolderItem = Volume(0)
dim n as new NSURLMBS(f)

dim v as Variant
dim e as NSErrorMBS
if n.getResourceValue(v, n.NSURLVolumeSupportsCaseSensitiveNamesKey, e) then
MsgBox "VolumeSupportsCaseSensitiveNames: "+str(v.BooleanValue)
else
MsgBox "Failed to query: "+e.LocalizedDescription
end if
Notes:
Key for determining whether the volume supports case-sensitive names, returned as a Boolean (read-only).
Available in OS X v10.6 and later.

Feedback, Comments & Corrections

NSURLMBS.NSURLVolumeSupportsExtendedSecurityKey as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Networking MBS MacBase Plugin 15.2 Yes No No Yes, macOS only No
Function: One of the property keys for volumes.
Notes:
Key for determining whether the volume supports extended security (access control lists), returned as a Boolean (read-only) (read-only).

Available in OS X v10.7 and later.

Feedback, Comments & Corrections

NSURLMBS.NSURLVolumeSupportsHardLinksKey as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Networking MBS MacBase Plugin 15.2 Yes No No Yes, macOS only No
Function: One of the property keys for volumes.
Notes:
Key for determining whether the volume supports hard links, returned as a Boolean.
Available in OS X v10.6 and later.

Feedback, Comments & Corrections

NSURLMBS.NSURLVolumeSupportsJournalingKey as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Networking MBS MacBase Plugin 15.2 Yes No No Yes, macOS only No
Function: One of the property keys for volumes.
Notes:
Key for determining whether the volume supports journaling, returned as a Boolean.
Available in OS X v10.6 and later.

Feedback, Comments & Corrections

NSURLMBS.NSURLVolumeSupportsPersistentIDsKey as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Networking MBS MacBase Plugin 15.2 Yes No No Yes, macOS only No
Function: One of the property keys for volumes.
Notes:
Key for determining whether the volume supports persistent IDs, returned as a Boolean (read-only).
Available in OS X v10.6 and later.

Feedback, Comments & Corrections

NSURLMBS.NSURLVolumeSupportsRenamingKey as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Networking MBS MacBase Plugin 15.2 Yes No No Yes, macOS only No
Function: One of the property keys for volumes.
Notes:
Key for determining whether the volume can be renamed, returned as a Boolean (read-only).
Available in OS X v10.7 and later.

Feedback, Comments & Corrections

NSURLMBS.NSURLVolumeSupportsRootDirectoryDatesKey as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Networking MBS MacBase Plugin 15.2 Yes No No Yes, macOS only No
Function: One of the property keys for volumes.
Notes:
Key for determining whether the volume supports reliable storage of times for the root directory, returned as a Boolean (read-only).

Available in OS X v10.7 and later.

Feedback, Comments & Corrections

NSURLMBS.NSURLVolumeSupportsSparseFilesKey as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Networking MBS MacBase Plugin 15.2 Yes No No Yes, macOS only No
Function: One of the property keys for volumes.
Notes:
Key for determining whether the volume supports sparse files, returned as a Boolean.
Available in OS X v10.6 and later.

Feedback, Comments & Corrections

NSURLMBS.NSURLVolumeSupportsSymbolicLinksKey as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Networking MBS MacBase Plugin 15.2 Yes No No Yes, macOS only No
Function: One of the property keys for volumes.
Notes:
Key for determining whether the volume supports symbolic links, returned as a Boolean.
Available in OS X v10.6 and later.

Feedback, Comments & Corrections

NSURLMBS.NSURLVolumeSupportsVolumeSizesKey as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Networking MBS MacBase Plugin 15.2 Yes No No Yes, macOS only No
Function: One of the property keys for volumes.
Notes:
Key for determining whether the volume supports returning volume size information, returned as a Boolean (read-only). If true, volume size information is available as values of the NSURLVolumeTotalCapacityKey and NSURLVolumeAvailableCapacityKey keys.

Available in OS X v10.7 and later.

Feedback, Comments & Corrections

NSURLMBS.NSURLVolumeSupportsZeroRunsKey as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Networking MBS MacBase Plugin 15.2 Yes No No Yes, macOS only No
Function: One of the property keys for volumes.
Notes:
Key for determining whether the volume supports zero runs, returned as a Boolean. (read-only).
Available in OS X v10.6 and later.

Feedback, Comments & Corrections

NSURLMBS.NSURLVolumeTotalCapacityKey as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Networking MBS MacBase Plugin 15.2 Yes No No Yes, macOS only No
Function: One of the property keys for volumes.
Notes:
Key for the volume’s capacity in bytes, returned as an Int64 (read-only).

Available in OS X v10.6 and later.

Feedback, Comments & Corrections

NSURLMBS.NSURLVolumeURLForRemountingKey as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Networking MBS MacBase Plugin 15.2 Yes No No Yes, macOS only No
Function: One of the property keys for volumes.
Notes:
Key for the URL needed to remount the network volume, returned as an NSURL object, or nil if a URL is not available (read-only).

Available in OS X v10.7 and later.

Feedback, Comments & Corrections

NSURLMBS.NSURLVolumeURLKey as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Networking MBS MacBase Plugin 15.2 Yes No No Yes, macOS only No
Function: One of the file system URL resource keys.
Notes:
The root directory of the resource’s volume, returned as an NSURL object (read-only).
Available in OS X v10.6 and later.

Feedback, Comments & Corrections

NSURLMBS.NSURLVolumeUUIDStringKey as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Networking MBS MacBase Plugin 15.2 Yes No No Yes, macOS only No
Function: One of the property keys for volumes.
Notes:
Key for the volume’s persistent UUID, returned as an NSString object, or nil if a persistent UUID is not available (read-only).

Available in OS X v10.7 and later.

Feedback, Comments & Corrections

NSURLMBS.URLsResourceValuesForKeys(URLs() as NSURLMBS, keys() as string, targetDelegate as URLsResourceValuesForKeysDelegateMBS, tag as Variant = nil, PrecacheIcons as boolean = false)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Networking MBS MacBase Plugin 15.2 Yes No No Yes, macOS only No
Function: Queries several URLs for values.
Notes:
Similar to resourceValuesForKeys, this method will start a preemptive thread and queries values for all URLs on all keys in background. Once done it calls the delegate on main thread.
For icons, you can set PrecacheIcons to true. In that case plugin will draw icon on the preemptive thread, so icon data is really loaded from disk. When you than draw on main thread, it's really quick.

the delegate is declared like this:
URLsResourceValuesForKeysDelegateMBS(URLs() as NSURLMBS, keys() as String, Values() as Dictionary, Errors() as NSErrorMBS, tag as Variant)

Feedback, Comments & Corrections

NSURLMBS.URLWithHandle(Handle as Integer) as NSURLMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Networking MBS MacBase Plugin 16.4 Yes No No Yes, macOS only No
Function: Creates a new URL object based on a handle value.
Notes: Will retain the reference.

Feedback, Comments & Corrections

NSURLMBS.URLWithItem(Item as FolderItem) as NSURLMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Networking MBS MacBase Plugin 15.2 Yes No No Yes, macOS only No
Function: Creates an URL based on folderItem.
Example:
dim f as FolderItem = GetFolderItem("/Volumes/Ablage1", FolderItem.PathTypeNative)
dim n as NSURLMBS = NSURLMBS.URLWithItem(f)
MsgBox n.absoluteString

Feedback, Comments & Corrections

NSURLMBS.URLWithString(URL as string) as NSURLMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Networking MBS MacBase Plugin 15.2 Yes No No Yes, macOS only No
Function: Creates and returns an NSURL object initialized with a provided URL string.

See also:

Feedback, Comments & Corrections

NSURLMBS.URLWithString(URL as string, baseURL as NSURLMBS) as NSURLMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Networking MBS MacBase Plugin 15.2 Yes No No Yes, macOS only No
Function: Creates and returns an NSURL object initialized with a base URL and a relative string.
Notes:
This method allows you to create a URL relative to a base path or URL. For example, if you have the URL for a folder on disk and the name of a file within that folder, you can construct a URL for the file by providing the folder’s URL as the base path (with a trailing slash) and the filename as the string part.

This method expects URLString to contain only characters that are allowed in a properly formed URL. All other characters must be properly percent escaped. Any percent-escaped characters are interpreted using UTF-8 encoding.

See also:

Feedback, Comments & Corrections

Previous items

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





Links
MBS FileMaker Plugins