Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Folder creation #24

Closed
Joker8991 opened this issue Nov 23, 2015 · 2 comments
Closed

Folder creation #24

Joker8991 opened this issue Nov 23, 2015 · 2 comments

Comments

@Joker8991
Copy link

Hello! How can I create a folder in root via Onedrive SDK in uwp app?
I tried in different ways but I did not succeed.
Thank you

@ginach
Copy link
Contributor

ginach commented Dec 1, 2015

Here's how you can create a folder:

    var folderToCreate = new Item { Name = folderName, Folder = new Folder() };
    var newFolder = await client.Drive.Items[parentId].Children.Request().AddAsync(folderToCreate);

@ginach
Copy link
Contributor

ginach commented Jan 15, 2016

Closing the issue, please reopen if I didn't address your question.

@ginach ginach closed this as completed Jan 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants