Windows Media Services SDK banner art
PreviousNext

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 Microsoft® Visual Basic®, this is done by reissuing the Set statement to update the collection object.

See Also

Windows Media Station Control Properties

PreviousNext


© 1996-1999 Microsoft Corporation. All rights reserved.