NSUrl.CreateFileUrl NSUrl.CreateFileUrl Method

Definition

Overloads

CreateFileUrl(String, NSUrl) CreateFileUrl(String, NSUrl)
CreateFileUrl(String, Boolean, NSUrl) CreateFileUrl(String, Boolean, NSUrl)
CreateFileUrl(String[]) CreateFileUrl(String[])

CreateFileUrl(String, NSUrl) CreateFileUrl(String, NSUrl)

[Foundation.Export("fileURLWithPath:relativeToURL:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSUrl CreateFileUrl (string path, Foundation.NSUrl relativeToUrl);
static member CreateFileUrl : string * Foundation.NSUrl -> Foundation.NSUrl

Parameters

path
String String
relativeToUrl
NSUrl NSUrl

To be added.

This parameter can be null.

Returns

CreateFileUrl(String, Boolean, NSUrl) CreateFileUrl(String, Boolean, NSUrl)

[Foundation.Export("fileURLWithPath:isDirectory:relativeToURL:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSUrl CreateFileUrl (string path, bool isDir, Foundation.NSUrl relativeToUrl);
static member CreateFileUrl : string * bool * Foundation.NSUrl -> Foundation.NSUrl

Parameters

path
String String
relativeToUrl
NSUrl NSUrl

To be added.

This parameter can be null.

Returns

CreateFileUrl(String[]) CreateFileUrl(String[])

[Foundation.Export("fileURLWithPathComponents:")]
public static Foundation.NSUrl CreateFileUrl (string[] pathComponents);
static member CreateFileUrl : string[] -> Foundation.NSUrl

Parameters

pathComponents
String[]

Returns

Applies to