Gets the best-match localization of the string referenced by strKey.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 87.0.0.0 (87.0.0.0)
Syntax
Parameters
- source
- Type: System Type
Type associated with strKey resource. Type must reside in the same assembly as the string resource where strKey is located.
- strKey
- Type: System String
Key to look up the string to localize.
Return Value
Type: StringResource string localized for current culture.
See Also