Use the given StartingSpaceName to resolve any ambiguity in NameToResolve, and return a name suitable for lookup in this tree. Note that a partial name, like ".", is ambiguous without a specified starting space.
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.10.0.0
Syntax
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 resolves it by using the startingSpaceName value. Otherwise, ResolvePartialName ignores startingSpaceName and returns a copy of the original name.
Return Value
Type: StringnameToResolve as a nonqualified or fully-qualified pathname.
Exceptions
| Exception | Condition |
|---|---|
| SpaceTreeException | startingSpaceName value is not a [legal space name]. |
| SpaceTreeException | startingSpaceName is a nonqualified space name and more than one instance of it exists in this tree. |
Remarks
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.
See Also