Ejemplo n.º 1
0
    public static StorageFolder CreateFolder(StorageFolder folder, string name, CreationCollisionOption collisionOption)
    {
        Task <StorageFolder> task = StorageUtility.AsyncCreateFolder(folder, name, collisionOption);

        task.Wait();
        return(task.Result);
    }
Ejemplo n.º 2
0
 public unsafe static long $Invoke2(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(StorageUtility.AsyncCreateFolder((StorageFolder)GCHandledObjects.GCHandleToObject(*args), Marshal.PtrToStringUni(*(IntPtr *)(args + 1)), *(int *)(args + 2))));
 }