Edytuj

Udostępnij za pośrednictwem


NSDictionary.FromUrl Method

Definition

Overloads

FromUrl(NSUrl, NSError)
FromUrl(NSUrl)

Creates a new dictionary from the contents of a PropertyList located at a specified URL.

FromUrl(NSUrl, NSError)

[Foundation.Export("dictionaryWithContentsOfURL:error:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> FromUrl (Foundation.NSUrl url, out Foundation.NSError error);
static member FromUrl : Foundation.NSUrl *  -> Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject>

Parameters

url
NSUrl
error
NSError

Returns

Attributes

Applies to

FromUrl(NSUrl)

Creates a new dictionary from the contents of a PropertyList located at a specified URL.

[Foundation.Export("dictionaryWithContentsOfURL:")]
public static Foundation.NSDictionary FromUrl (Foundation.NSUrl url);
static member FromUrl : Foundation.NSUrl -> Foundation.NSDictionary

Parameters

url
NSUrl

Url to the resource containing an NSDictionary in PropertyList format.

Returns

Attributes

Applies to