Play a music file WAV fileName. Another formats must not be supported.
Namespace:
SGP.BaltieAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
| C# |
|---|
[CLSCompliantAttribute(false)] public MusicSegmentState PlaySound( string fileName ) |
Parameters
- fileName
- Type: System..::.String
A music file.
Return Value
Returns the instance of MusicSegmentState for manipulating with the music.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | fileName is nullNothingnullptra null reference (Nothing in Visual Basic). |