Windows Media Services SDK banner art
PreviousNext

VirtualRoots.Count Property

Returns the number of VirtualRoot objects in a VirtualRoots collection object.

Syntax

NSUnicastMgr.VirtualRoots.Count

Example

' Display alias of the first root
MsgBox (NSUnicastMgr.VirtualRoots.Item[ 0 ].AliasName)
' Display port ID of the last client
MsgBox (NSUnicastMgr.VirtualRoots[ NSUnicastMgr.Count – 1 ].AliasName)
PreviousNext


© 1996-1999 Microsoft Corporation. All rights reserved.