Windows Media Services SDK banner art
PreviousNext

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. To learn how it can be omitted, see the alternate syntax line in the preceding example.

See Also

Channels.Count

PreviousNext


© 1996-1999 Microsoft Corporation. All rights reserved.