NSFileProviderExtension.CreateDirectoryAsync(String, 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.
When implemented by the developer, creates a new directory in the specified location and runs a handler when the operation is complete.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<FileProvider.INSFileProviderItem> CreateDirectoryAsync (string directoryName, string parentItemIdentifier);
abstract member CreateDirectoryAsync : string * string -> System.Threading.Tasks.Task<FileProvider.INSFileProviderItem>
override this.CreateDirectoryAsync : string * string -> System.Threading.Tasks.Task<FileProvider.INSFileProviderItem>
Parameters
- directoryName
- String
The directory name.
- parentItemIdentifier
- String
The parent directory's persistent identifier.
Returns
A task that represents the asynchronous CreateDirectory operation. The value of the TResult parameter is of type System.Action<FileProvider.INSFileProviderItem,Foundation.NSError>.
- Attributes
Remarks
(More documentation for this node is coming)
This can be used from a background thread.