[This is preliminary documentation and is subject to change.]

Gets sound associated with given icon

Namespace: Tools.WindowsT.IndependentT
Assembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
protected static SystemSoundPlayer GetAssociatedSound(
	MessageBox..::..MessageBoxIcons Icon
)
Visual Basic
Protected Shared Function GetAssociatedSound ( _
	Icon As MessageBox..::..MessageBoxIcons _
) As SystemSoundPlayer
Visual C++
protected:
static SystemSoundPlayer^ GetAssociatedSound(
	MessageBox..::..MessageBoxIcons Icon
)
F#
static member GetAssociatedSound : 
        Icon:MessageBox..::..MessageBoxIcons -> SystemSoundPlayer 
JScript
protected static function GetAssociatedSound(
	Icon : MessageBox..::..MessageBoxIcons
) : SystemSoundPlayer

Return Value

An instance of SystemSoundPlayer if there is sound associated with Icon; null otherwise

Remarks

Current associatins are:

See Also