Previous | Next |
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 Microsoft® Visual Basic®, this is done by reissuing the Set statement to update the collection object.
See Also
Windows Media Station Control Properties
Previous | Next |