Returns true if given space name has valid syntax, returns false otherwise. If not valid syntax, an error message is provided.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 79.0.0.0
Syntax
Parameters
- spaceName
- Type: System String
The input space name to be verified.
- allowPartialName
- Type: System Boolean
If false, PQ names will be ruled invalid.
- errMsg
- Type: System String
If invalid syntax, an error message is provided.
Return Value
Type: BooleanTrue if syntax is valid, false otherwise.
Remarks
Returns an empty string if the given coordinate space name has valid syntax. Otherwise, CheckSpaceNameSyntax(String, Boolean, String ) returns an explicit error message.
See Also