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.ChannelFormat.Remove
' refresh the ChannelFormats collection after removing format
Set MyFormat = MyStation.Channels.Item(0)

See Also

ChannelFormats objects

© 1996-1998 Microsoft Corporation. All rights reserved.