Streams.Count Property

Returns the number of Stream objects in a Streams collection object.

Syntax

NSChannelMgr.Streams.Count

Example

NSChannelMgr.Connect "LocalHost"
Dim Streams
Set Streams = NSChannelMgr.Streams
LastStream = Streams( Streams.Count – 1 )
MsgBox Streams.Count & " Streams in collection"

See Also

Streams collection, Stream objects, Streams.Item

© 1996-1998 Microsoft Corporation. All rights reserved.