UIDocument.ContentsForType(String, NSError) Method

Definition

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.

Applies to