PlaylistManager.DeserializePlaylist 方法
将播放列表文件反序列化为播放列表对象。
命名空间:Microsoft.Windows.Kits.Hardware.ObjectModel
程序集:Microsoft.Windows.Kits.Hardware.ObjectModel(在 Microsoft.Windows.Kits.Hardware.ObjectModel 中)
语法
C#
public static Playlist DeserializePlaylist (
string playlistImportPath
)
参数
playlistImportPath
播放列表文件的完整路径
返回值
播放列表
当找不到给定的播放列表文件时,返回 System.IO.FileNotFoundException。 当给定的路径为空或包含无效字符时,返回 System.ArgumentException。 当给定的播放列表文件不符合架构时,返回 PlaylistException。
线程安全
此类型的所有公共静态成员都是线程安全的。 但不保证所有实例成员都是线程安全的。