Windows Media Services SDK banner art
PreviousNext

Clients.Count Property

Returns the number of Client objects in a Clients collection object.

Syntax

NSUnicastMgr.Clients.Count

Remarks

While the Clients object is a zero-based array (starting at 0 [zero]), the Count property returns the number of clients, starting with 1 (one).

Example

' Display number of clients
MsgBox (NSUnicastMgr.Clients.Count)
' Display port ID of the last client
MsgBox (NSUnicastMgr.Clients[NSUnicastMgr.Count – 1].PortID)
PreviousNext


© 1996-1999 Microsoft Corporation. All rights reserved.