none
UWP 无法获取文件的属性里面的标题 PC可以获取,但是手机就没用了。 RRS feed

  • 问题

  • FileOpenPicker openFile = new FileOpenPicker();
    openFile.SuggestedStartLocation = PickerLocationId.DocumentsLibrary;
    openFile.ViewMode = PickerViewMode.List;
    openFile.FileTypeFilter.Add(".ttf");
    StorageFile file = await openFile.PickSingleFileAsync();
    StorageFolder folder = ApplicationData.Current.LocalFolder;
    var flie = await file.CopyAsync(folder, file.Name, NameCollisionOption.ReplaceExisting);
    Windows.Storage.FileProperties.DocumentProperties w = await file.Properties.GetDocumentPropertiesAsync();
    Debug.WriteLine("TITLE" + w.Title);


    • 已编辑 陌轩 2016年9月8日 23:30
    2016年9月8日 16:22

全部回复

  • 您好,

    我这边可以重现这个问题,具体问题出在哪里还不是很确定,我需要联系相关的人员去确认一下,如果我获得任何有用的信息,我会第一时间通知你的。

    谢谢


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    2016年9月16日 8:20