GoDiagram Win Reference
FindNode(String,Boolean,Boolean,Boolean) Method

the String to search for
true to just find parts beginning with s; false to compare the whole string
true to upcase both the s search string as well as each part's text string; false to do a case-sensitive comparison
true to recurse into subgraphs; false to only consider top-level IGoLabeledPart's
Search this document for an object whose IGoLabeledPart.Text property matches a given string, possibly considering the initial part of the part's text string and possibly comparing in a case-insensitive manner.
Syntax
'Declaration
 
Public Overloads Overridable Function FindNode( _
   ByVal s As String, _
   ByVal prefix As Boolean, _
   ByVal ignorecase As Boolean, _
   ByVal insidesubgraph As Boolean _
) As GoObject
public virtual GoObject FindNode( 
   string s,
   bool prefix,
   bool ignorecase,
   bool insidesubgraph
)

Parameters

s
the String to search for
prefix
true to just find parts beginning with s; false to compare the whole string
ignorecase
true to upcase both the s search string as well as each part's text string; false to do a case-sensitive comparison
insidesubgraph
true to recurse into subgraphs; false to only consider top-level IGoLabeledPart's

Return Value

A GoObject that implements IGoLabeledPart with a matching text string, or null if no such part exists in this document.
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

GoDocument Class
GoDocument Members
Overload List

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback