﻿<?xml version="1.0" encoding="UTF-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
  <CodeSnippet Format="1.0.0">
    <Header>
      <Title>Play a Sound </Title>
      <Author>Microsoft Corporation</Author>
      <Description>Plays a sound from a file.</Description>
      <Keywords>
      </Keywords>
      <Shortcut>sndPlay</Shortcut>
    </Header>
    <Snippet>
      <Declarations>
        <Literal>
          <ID>filename</ID>
          <Type />
          <ToolTip>Replace with the name of the sound file.</ToolTip>
          <Default>"ringout.wav"</Default>
        </Literal>
      </Declarations>
      <Code Language="VB" Kind="method body"><![CDATA[My.Computer.Audio.Play($filename$,  AudioPlayMode.WaitToComplete)]]></Code>
    </Snippet>
  </CodeSnippet>
</CodeSnippets>