Microsoft DirectX 8.1 (C++)

Channels.ItemWithName

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The ItemWithName property retrieves an object from the collection by name.

Syntax

objChannels.ItemWithName(strName As String) As Channel

Parameters

strName

[in]  Specifies the name of the desired Channel object.

Error Codes

If the property fails, an error is raised and Err.Number is set to a value other than zero.

Return Values

This property returns a Channel object.

See Also