Replaces the format items in the best-match localization of the string
referenced by strKey with the text equivalent of the value of two
specified Object instances.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 69.0.0.0 (69.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 containing zero or more format items.
- arg0
- Type: System Object
The first Object to format.
- arg1
- Type: System Object
The second Object to format.
Return Value
Type: StringA copy of the localized string in which the first and second format items have been replaced by the String equivalents of arg0 and arg1.
See Also