Windows Media Services SDK banner art
PreviousNext

ChannelFormat.Remove Method

Removes a station format.

Syntax

Station.ChannelFormats(Index).Remove

Return Values

Returns an ActiveX HRESULT error code.

Remarks

If you remove an item from the ChannelFormats collection by using the Remove method, you must use the Set method again to refresh the object.

Example

Set MyStation = NSChannelMgr.Channels.Item(1)
Set MyFormat = MyStation.ChannelFormats.Item(0)
' Remove first format from second station
MyFormat.Remove
' Refresh the ChannelFormats collection after removing format
Set MyFormat = MyStation.Channels.Item(0)
PreviousNext


© 1996-1999 Microsoft Corporation. All rights reserved.