Bearbeiten

Freigeben über


NSBundle.GetUrlForResource Method

Definition

Overloads

GetUrlForResource(String, String)
GetUrlForResource(String, String, String)
GetUrlForResource(String, String, String, NSUrl)
GetUrlForResource(String, String, String, String)

GetUrlForResource(String, String)

[Foundation.Export("URLForResource:withExtension:")]
public virtual Foundation.NSUrl GetUrlForResource (string name, string fileExtension);
abstract member GetUrlForResource : string * string -> Foundation.NSUrl
override this.GetUrlForResource : string * string -> Foundation.NSUrl

Parameters

name
String
fileExtension
String

Returns

Attributes

Applies to

GetUrlForResource(String, String, String)

[Foundation.Export("URLForResource:withExtension:subdirectory:")]
public virtual Foundation.NSUrl GetUrlForResource (string name, string fileExtension, string subdirectory);
abstract member GetUrlForResource : string * string * string -> Foundation.NSUrl
override this.GetUrlForResource : string * string * string -> Foundation.NSUrl

Parameters

name
String
fileExtension
String
subdirectory
String

To be added.

This parameter can be null.

Returns

Attributes

Applies to

GetUrlForResource(String, String, String, NSUrl)

[Foundation.Export("URLForResource:withExtension:subdirectory:inBundleWithURL:")]
public static Foundation.NSUrl GetUrlForResource (string name, string fileExtension, string subdirectory, Foundation.NSUrl bundleURL);
static member GetUrlForResource : string * string * string * Foundation.NSUrl -> Foundation.NSUrl

Parameters

name
String
fileExtension
String
subdirectory
String

To be added.

This parameter can be null.

bundleURL
NSUrl

Returns

Attributes

Applies to

GetUrlForResource(String, String, String, String)

[Foundation.Export("URLForResource:withExtension:subdirectory:localization:")]
public virtual Foundation.NSUrl GetUrlForResource (string name, string fileExtension, string subdirectory, string localizationName);
abstract member GetUrlForResource : string * string * string * string -> Foundation.NSUrl
override this.GetUrlForResource : string * string * string * string -> Foundation.NSUrl

Parameters

name
String
fileExtension
String
subdirectory
String

To be added.

This parameter can be null.

localizationName
String

To be added.

This parameter can be null.

Returns

Attributes

Applies to