GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoDocument Class / FindNode Method / 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
In This Topic
    FindNode(String,Boolean,Boolean,Boolean) Method
    In This Topic
    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
    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.
    See Also