UIDocument.ContentsForType(String, 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.
Application developers should override this method to return the document data to be saved.
[Foundation.Export("contentsForType:error:")]
public virtual Foundation.NSObject ContentsForType (string typeName, out Foundation.NSError outError);
abstract member ContentsForType : string * -> Foundation.NSObject
override this.ContentsForType : string * -> Foundation.NSObject
Parameters
- typeName
- String
The name of the type.
- outError
- NSError
Object that encapsulates error information.
Returns
NSObject
- Attributes
Remarks
This can be used from a background thread.