NSFileWrapper.AddRegularFile(NSData, String) Method

Definition

Adds a child regular file to this with the specified dataContents. If this is not a directory file wrapper, throws an exception.

[Foundation.Export("addRegularFileWithContents:preferredFilename:")]
public virtual string AddRegularFile (Foundation.NSData dataContents, string preferredFilename);
abstract member AddRegularFile : Foundation.NSData * string -> string
override this.AddRegularFile : Foundation.NSData * string -> string

Parameters

dataContents
NSData
preferredFilename
String

Returns

Attributes

Applies to