NSUrl.CreateFileUrl Método

Definición

Sobrecargas

CreateFileUrl(String, NSUrl)

C#
[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);

Parámetros

path
String
relativeToUrl
NSUrl

Se agregará.

Este parámetro puede ser null.

Devoluciones

Atributos

Se aplica a

Xamarin.Mac SDK 14
Producto Versiones
Xamarin.Mac SDK 14

CreateFileUrl(String, Boolean, NSUrl)

C#
[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);

Parámetros

path
String
isDir
Boolean
relativeToUrl
NSUrl

Se agregará.

Este parámetro puede ser null.

Devoluciones

Atributos

Se aplica a

Xamarin.Mac SDK 14
Producto Versiones
Xamarin.Mac SDK 14

CreateFileUrl(String[])

C#
[Foundation.Export("fileURLWithPathComponents:")]
public static Foundation.NSUrl CreateFileUrl(string[] pathComponents);

Parámetros

pathComponents
String[]

Devoluciones

Atributos

Se aplica a

Xamarin.Mac SDK 14
Producto Versiones
Xamarin.Mac SDK 14