CreateFolderRequest

DesktopOperating SystemUWPWin32Windows

Properties

Name Type Description
parentPath string Path of the parent folder
name string Name for the new folder
collisionOption string How to handle name collisions (CreationCollisionOption)
View JSON Schema on GitHub

JSON Schema

microsoft-windows-10-createfolderrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateFolderRequest",
  "title": "CreateFolderRequest",
  "type": "object",
  "properties": {
    "parentPath": {
      "type": "string",
      "description": "Path of the parent folder"
    },
    "name": {
      "type": "string",
      "description": "Name for the new folder"
    },
    "collisionOption": {
      "type": "string",
      "enum": [
        "GenerateUniqueName",
        "ReplaceExisting",
        "FailIfExists",
        "OpenIfExists"
      ],
      "description": "How to handle name collisions (CreationCollisionOption)",
      "default": "FailIfExists"
    }
  },
  "required": [
    "name"
  ]
}