Windows Media Services SDK banner art
PreviousNext

Channels.Count Property

Returns the number of Channel objects in a Channels collection object.

Syntax

NSChannelMgr.Channels.Count

Example

NSChannelMgr.Connect "LocalHost"
Dim Stations
Set Stations = NSChannelMgr.Channels
For i = 0 to Stations.Count – 1
' Display station number and name
   MsgBox ("Station " & Stations.Count " : " & _
          Stations(i).Name)
Next i

See Also

Channels.Item

PreviousNext


© 1996-1999 Microsoft Corporation. All rights reserved.