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, Channels object

© 1996-1998 Microsoft Corporation. All rights reserved.