GoDiagram Web Reference
Item(String) Property

For convenience, you can access named child objects using an indexer.
Syntax
'Declaration
 
Public Overloads Property Item( _
   ByVal name As String _
) As GoObject
public GoObject Item( 
   string name
) {get; set;}

Parameters

name
Remarks

The getter just calls FindChild. The setter just calls AddChildName.

For example:

            GoBasicNode n = ...;
            System.Diagnostics.Debug.Assert(n["Label"] == n.Label);
            
Remember that you can also refer to a particular child object by its position (integer index) in this group, since GoGroup implements IList.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoGroup Class
GoGroup Members
Overload List

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback