LocalizationHelperLocalizeStringProperties Method
Localizes the localizable string properties of the specified target object,
using the specified name as a prefix for the resource keys.
Namespace: KGySoft.WinFormsAssembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
public static void LocalizeStringProperties(
Object target,
string name,
LocalizationContext? context = null
)
Public Shared Sub LocalizeStringProperties (
target As Object,
name As String,
Optional context As LocalizationContext = Nothing
)
public:
static void LocalizeStringProperties(
Object^ target,
String^ name,
LocalizationContext^ context = nullptr
)
static member LocalizeStringProperties :
target : Object *
name : string *
?context : LocalizationContext
(* Defaults:
let _context = defaultArg context null
*)
-> unit
Parameters
- target Object
- The target object whose localizable string properties should be localized.
- name String
- The name of the target object. Used as a prefix for the resource keys.
- context LocalizationContext (Optional)
- A localization context to use for the operation. If , a context is automatically created based on the target object. This parameter is optional.
Default value: .