Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 91.0.0.0
Parameters
- spaceName
- Type: System String
A valid nonqualified or fully-qualified space name to find.
Return Value
Type: CogStringCollectionA collection of space names; or an empty collection if the given name does not exist in the tree.
| Exception | Condition |
|---|---|
| CogSpaceTreeInvalidNameSyntaxException | spaceName value is not a legal space name. |
Finds the given coordinate space name in this tree and returns a collection containing zero or more fully-qualified pathnames that are found. The returned collection contains more than one space name only if the given spaceName is nonqualified and exists at multiple locations within the coordinate space tree.
You can use FindNames(String) to determine if a space name is valid and exists in this tree, or to convert a nonqualified space name to one or more fully-qualified space names. FindNames(String) is similar to LookUpName(String, CogSpaceTreePathnameConstants), but it does not generate an error if the given space name exists more than once in the tree or does not exist.