Channels.Item Property

Returns the Channel object as specified by the Index value.

Syntax

NSChannelMgr.Channels.Item( Index )

Example

NSChannelMgr.Connect "LocalHost"
Dim Stations
Set Stations = NSChannelMgr.Channels
LastStation = Stations.Item( Stations.Count - 1 )
FirstStation = Stations.Item( 0 )
' using alternate syntax
AlsoTheFirstStation = Stations(0)

Remarks

The Item property is the default property. See the alternate syntax line in the example to see how it can be omitted.

See Also

Channels.Count, Channels object

© 1996-1998 Microsoft Corporation. All rights reserved.