Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 75.1.0.0
Parameters
- startingSpaceName
- Type: System String
The starting space name used to resolve nameToResolve, if it is a partially-qualified coordinate space name.
- nameToResolve
- Type: System String
The coordinate space name to resolve. If . is a partially-qualified name, ResolvePartialName(String, String) resolves it by using the startingSpaceName value. Otherwise, ResolvePartialName(String, String) ignores startingSpaceName and returns a copy of the original name.
Return Value
Type: StringnameToResolve as a nonqualified or fully-qualified pathname.
| Exception | Condition |
|---|---|
| CogSpaceTreeInvalidNameSyntaxException | startingSpaceName value is not a legal space name. |
| CogSpaceTreeNotUniqueException | startingSpaceName is a nonqualified space name and more than one instance of it exists in this tree. |
Uses the given startingSpaceName to resolve any ambiguity in nameToResolve, and returns a name suitable for lookup in this tree. Note that a partial name, such as ".", is ambiguous without a specified starting space name. This is the only method that can accept partially-qualified space names.