Channels Property

Returns a Channels collection object.

Syntax

NSChannelMgr.Channels

Example

NSChannelMgr.Connect "LocalHost"
Dim MyStations
Set MyStations = NSChannelMgr.Channels
MsgBox "There are " & MyStations.Count & " Station objects"
MyStations(0).Close  'remove a Station
Set MyStations = NSChannelMgr. Channels ' update collection

Remarks

If you remove a Channel object from the collection, you must retrieve a new collection. In Visual Basic this is done by reissuing the Set statement again to update the collection object.

See Also

Station Manager Properties

© 1996-1998 Microsoft Corporation. All rights reserved.