Freigeben über


NSDictionary.FromUrl Methode

Definition

Überlädt

FromUrl(NSUrl, NSError)
FromUrl(NSUrl)

Erstellt ein neues Wörterbuch aus dem Inhalt einer PropertyList unter einer angegebenen 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>

Parameter

url
NSUrl
error
NSError

Gibt zurück

Attribute

Gilt für:

FromUrl(NSUrl)

Erstellt ein neues Wörterbuch aus dem Inhalt einer PropertyList unter einer angegebenen URL.

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

Parameter

url
NSUrl

Url der Ressource, die ein NSDictionary im PropertyList-Format enthält.

Gibt zurück

Attribute

Gilt für: