[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.2.0

Syntax

C#
protected static SystemSoundPlayer GetAssociatedSound(
	MessageBox..::.MessageBoxIcons Icon
)
Visual Basic (Declaration)
Protected Shared Function GetAssociatedSound ( _
	Icon As MessageBox..::.MessageBoxIcons _
) As SystemSoundPlayer
Visual C++
protected:
static SystemSoundPlayer^ GetAssociatedSound(
	MessageBox..::.MessageBoxIcons Icon
)
J#
protected static SystemSoundPlayer GetAssociatedSound(
	MessageBox..::.MessageBoxIcons Icon
)
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