NSFileWrapper.AddRegularFile(NSData, String) 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.
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