NSFile Extension. Write Placeholder(NSUrl, NSDictionary, NSError) Provider
Extension. Write Placeholder(NSUrl, NSDictionary, NSError)
Writes a placeholder using provided metadata.
[Foundation.Export("writePlaceholderAtURL:withMetadata:error:")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'NSFileProviderManager' instead.")] public static bool WritePlaceholder (Foundation.NSUrl placeholderUrl, Foundation.NSDictionary metadata, ref Foundation.NSError error);
static member WritePlaceholder : Foundation.NSUrl * Foundation.NSDictionary * -> bool
If an error were to occur during the execution, the parameter is set to an error object describing the issue. If no error is to occur, you may pass in Null.
Use whenever you need a placeholder for a document. You must not override this method.
This can be used from a background thread.