A Sandcastle Documented Class Library
GlobalsBridge
PlaySound メソッド
音声ファイルを再生します。
名前空間:
KeyToKey.Plugins
アセンブリ:
KeyToKey.Plugins (in KeyToKey.Plugins.dll) バージョン: 1.0.0.0 (1.0.0.0)
構文
C#
コピー
public
void
PlaySound
(
string
filePath
,
int
volume
= 20,
bool
waitPlayEnd
=
false
)
パラメーター
filePath
型:
System
String
音声ファイルのパス
volume
(Optional)
型:
System
Int32
ボリューム(0~100)
waitPlayEnd
(Optional)
型:
System
Boolean
音声ファイルの再生が終了するのを待つ
実装
IGlobals
PlaySound(String, Int32, Boolean)
関連項目
参照
GlobalsBridge クラス
KeyToKey.Plugins 名前空間