UIDocument.Read(NSUrl, NSError) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.