是否有windows提供的函数可以在C++中获取windows Phone 8上的文件扩展名

Is there a windows provided function to get the file extension on Windows Phone 8 in C++?

本文关键字:windows Phone 获取 扩展名 文件 C++ 函数 是否      更新时间:2023-10-16

标题是整个问题:是否有windows提供的函数可以在C++中获得windows Phone上的文件扩展名?

我查看了StorageFile类中的FileType属性,但它没有实现。还有其他选择吗?还是我们自己滚?

StorageFile.Name包含扩展名。只需在最后一个.之后拿走所有东西。