Modifica

Condividi tramite


UIDocument.Read(NSUrl, NSError) Method

Definition

Reads the document data from the specified location into the application sandbox.

[Foundation.Export("readFromURL:error:")]
public virtual bool Read (Foundation.NSUrl fromUrl, out Foundation.NSError outError);
abstract member Read : Foundation.NSUrl *  -> bool
override this.Read : Foundation.NSUrl *  -> bool

Parameters

fromUrl
NSUrl

Source URL address.

outError
NSError

When overridden, and you cannot write document data, this method return by an NSError object encapsulating all reasons that this is not possible.

Returns

Boolean indicating whether read or not.

Attributes

Remarks

This can be used from a background thread.

Applies to