更新时间:2023-11-22 11:10:04
检查MSDN中有关该名称空间的文档.确定其所在的程序集.然后添加对该程序集的引用.
Check MSDN for documentation on that namespace. Identify which assembly its located in. Then add a reference to that assembly.
Google"MSDN system.media" .从该命名空间中选择一个类.我将使用 SoundPlayer .
Google "MSDN system.media".. Pick a class from that namespace. I'll use SoundPlayer.
文档说该类位于Assemblies:
System.dll, System.Windows.Extensions.dll
中.
The documentation says that class is located in Assemblies:
System.dll, System.Windows.Extensions.dll
.
因此 查看全文