Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

Next items

CFURLMBS.AbsoluteURL as CFURLMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreFoundation MBS MacCF Plugin Yes No No Yes, macOS only No
Function: Returns the absolute URL.
Notes: A URL contains normally a base and a relative part. This function creates one absolute URL from those parts.

Feedback, Comments & Corrections

CFURLMBS.AppendPathComponent(pathcomponent as CFStringMBS,isDirectory as boolean) as CFURLMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreFoundation MBS MacCF Plugin Yes No No Yes, macOS only No
Function: Appends a path component to this URL.

Feedback, Comments & Corrections

CFURLMBS.AppendPathExtension(extension as CFStringMBS) as CFURLMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreFoundation MBS MacCF Plugin Yes No No Yes, macOS only No
Function: Appends a path extension to this URL.

Feedback, Comments & Corrections

CFURLMBS.BaseURL as CFURLMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreFoundation MBS MacCF Plugin Yes No No Yes, macOS only No
Function: Returns the base URL.
Notes: A URL contains normally a base and a relative part.

Feedback, Comments & Corrections

CFURLMBS.CanBeDecomposed as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreFoundation MBS MacCF Plugin Yes No No Yes, macOS only No
Function: Can this url be decomposed?

Feedback, Comments & Corrections

CFURLMBS.Constructor(File as FolderItem)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreFoundation MBS MacCF Plugin 17.4 Yes No No Yes, macOS only No
Function: Creates new CFURLMBS based on given folderitem.
Notes: Raises exception if not called on macOS or called with invalid URL.

See also:

Feedback, Comments & Corrections

CFURLMBS.Constructor(URL as string)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreFoundation MBS MacCF Plugin 17.4 Yes No No Yes, macOS only No
Function: Creates new CFURLMBS based on given URL.
Notes: Raises exception if not called on macOS or called with invalid URL.

See also:

Feedback, Comments & Corrections

CFURLMBS.Data(encoding as Integer, escapeWhitespace as boolean) as CFBinaryDataMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreFoundation MBS MacCF Plugin Yes No No Yes, macOS only No
Function: Returns the URL as binary data using the given encoding.

Feedback, Comments & Corrections

CFURLMBS.DeleteLastPathComponent as CFURLMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreFoundation MBS MacCF Plugin Yes No No Yes, macOS only No
Function: Deletes the last path component of this URL.

Feedback, Comments & Corrections

CFURLMBS.DeletePathExtension as CFURLMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreFoundation MBS MacCF Plugin Yes No No Yes, macOS only No
Function: Deletes the path extension of this URL.

Feedback, Comments & Corrections

CFURLMBS.DisplayName as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreFoundation MBS MacCF Plugin 2.9 Yes No No Yes, macOS only No
Function: Returns the display name for the url.
Notes: Returns "" on any error.

Feedback, Comments & Corrections

CFURLMBS.file as folderitem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreFoundation MBS MacCF Plugin 2.7 Yes No No Yes, macOS only No
Function: Returns the URL as a folderitem.
Notes: Works only on RB 4.5 or later and if the file exists.

Feedback, Comments & Corrections

CFURLMBS.Fragment(charactersToLeaveEscaped as CFStringMBS) as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreFoundation MBS MacCF Plugin Yes No No Yes, macOS only No
Function: Returns the Fragment part of this URL.

Feedback, Comments & Corrections

CFURLMBS.HasDirectoryPath as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreFoundation MBS MacCF Plugin Yes No No Yes, macOS only No
Function: Has this URL a directory path?

Feedback, Comments & Corrections

CFURLMBS.HFSFileSystemPath as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreFoundation MBS MacCF Plugin Yes No No Yes, macOS only No
Function: Returns the URL as HFSFileSystemPath.

Feedback, Comments & Corrections

CFURLMBS.HostName as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreFoundation MBS MacCF Plugin Yes No No Yes, macOS only No
Function: Returns the HostName part of this URL.

Feedback, Comments & Corrections

CFURLMBS.isAbsolutePath as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreFoundation MBS MacCF Plugin Yes No No Yes, macOS only No
Function: Is the path an absolute path?

Feedback, Comments & Corrections

CFURLMBS.Kind as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreFoundation MBS MacCF Plugin 2.9 Yes No No Yes, macOS only No
Function: Returns the kind string for the file.

Feedback, Comments & Corrections

CFURLMBS.LastPathComponent as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreFoundation MBS MacCF Plugin Yes No No Yes, macOS only No
Function: Returns the LastPathComponent part of this URL.

Feedback, Comments & Corrections

CFURLMBS.Launch as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreFoundation MBS MacCF Plugin 2.9 Yes No No Yes, macOS only No
Function: Launches a file.
Notes: Returns a Mac OS error string or -1 if the function is not available.

Feedback, Comments & Corrections

CFURLMBS.NetLocation as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreFoundation MBS MacCF Plugin Yes No No Yes, macOS only No
Function: Returns the NetLocation part of this URL.

Feedback, Comments & Corrections

CFURLMBS.ParameterString(charactersToLeaveEscaped as CFStringMBS) as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreFoundation MBS MacCF Plugin Yes No No Yes, macOS only No
Function: Returns the ParameterString part of this URL.

Feedback, Comments & Corrections

CFURLMBS.Password as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreFoundation MBS MacCF Plugin Yes No No Yes, macOS only No
Function: Returns the Password part of this URL.

Feedback, Comments & Corrections

CFURLMBS.Path as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreFoundation MBS MacCF Plugin Yes No No Yes, macOS only No
Function: Returns the Path part of this URL.

See also:

Feedback, Comments & Corrections

CFURLMBS.Path(resolveAgainstBase as boolean) as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreFoundation MBS MacCF Plugin Yes No No Yes, macOS only No
Function: Returns the path of this URL.

See also:

Feedback, Comments & Corrections

CFURLMBS.PathExtension as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreFoundation MBS MacCF Plugin Yes No No Yes, macOS only No
Function: Returns the PathExtension part of this URL.

Feedback, Comments & Corrections

CFURLMBS.PortNumber as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreFoundation MBS MacCF Plugin Yes No No Yes, macOS only No
Function: Returns the PortNumber part of this URL.
Notes: Returns -1 if no port specified and -2 on Windows and Mac OS Classic.

Feedback, Comments & Corrections

CFURLMBS.PosixFileSystemPath as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreFoundation MBS MacCF Plugin Yes No No Yes, macOS only No
Function: Returns the URL as PosixFileSystemPath.

Feedback, Comments & Corrections

CFURLMBS.QueryString(charactersToLeaveEscaped as CFStringMBS) as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreFoundation MBS MacCF Plugin Yes No No Yes, macOS only No
Function: Returns the QueryString part of this URL.

Feedback, Comments & Corrections

Next items

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




Links
MBS Xojo blog