Compartilhar via


NSDictionary.FromUrl Método

Definição

Sobrecargas

FromUrl(NSUrl, NSError)
FromUrl(NSUrl)

Cria um novo dicionário do conteúdo de uma PropertyList localizada em uma URL especificada.

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>

Parâmetros

url
NSUrl
error
NSError

Retornos

Atributos

Aplica-se a

FromUrl(NSUrl)

Cria um novo dicionário do conteúdo de uma PropertyList localizada em uma URL especificada.

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

Parâmetros

url
NSUrl

Url para o recurso que contém um NSDictionary no formato PropertyList.

Retornos

Atributos

Aplica-se a