CogLocalizer GetString Method (Type, String)Cognex VisionPro 9.20
Gets the best-match localization of the string referenced by strKey.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 80.0.0.0 (80.0.0.0)
Syntax

public static string GetString(
	Type source,
	string strKey
)

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: String
Resource string localized for current culture.
See Also