Plays the sound in the background until the Stop method is called. Otherwise, the playMode parameter determines how the sound will play. If the overload that takes only the location parameter is used, the Play method plays the sound in the background. wav sound file stored as a file at location, as a byte array in data, or as a stream in stream. They can then be accessed through the My.Resources object. To simplify the management of your sound files, consider storing the files as application resources. This code example can only run within a Windows Forms application. The My. method plays the specified sound in the background when PlayMode.Background is specified. A partial-trust situation exists in which the user lacks necessary permissions.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |