Partager via


NSMutableAttributedString.ReadFromFile Méthode

Définition

Surcharges

ReadFromFile(NSUrl, NSDictionary, NSDictionary, NSError)
ReadFromFile(NSUrl, NSAttributedStringDocumentAttributes, NSDictionary, NSError)

Les développeurs ne doivent pas utiliser cette méthode dépréciée. Les développeurs doivent utiliser « ReadFromUrl » à la place.

ReadFromFile(NSUrl, NSDictionary, NSDictionary, NSError)

[Foundation.Export("readFromFileURL:options:documentAttributes:error:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'ReadFromUrl' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ReadFromFile (Foundation.NSUrl url, Foundation.NSDictionary options, ref Foundation.NSDictionary returnOptions, ref Foundation.NSError error);
abstract member ReadFromFile : Foundation.NSUrl * Foundation.NSDictionary *  *  -> bool
override this.ReadFromFile : Foundation.NSUrl * Foundation.NSDictionary *  *  -> bool

Paramètres

url
NSUrl
options
NSDictionary
returnOptions
NSDictionary
error
NSError

Retours

Attributs

S’applique à

ReadFromFile(NSUrl, NSAttributedStringDocumentAttributes, NSDictionary, NSError)

Les développeurs ne doivent pas utiliser cette méthode dépréciée. Les développeurs doivent utiliser « ReadFromUrl » à la place.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'ReadFromUrl' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public bool ReadFromFile (Foundation.NSUrl url, Foundation.NSAttributedStringDocumentAttributes options, ref Foundation.NSDictionary returnOptions, ref Foundation.NSError error);
member this.ReadFromFile : Foundation.NSUrl * Foundation.NSAttributedStringDocumentAttributes *  *  -> bool

Paramètres

url
NSUrl
returnOptions
NSDictionary
error
NSError

Retours

Attributs

S’applique à