DbResInstance.TObject

Localization helper function that Translates a resource Id to a resource value object. Use this function if you're retrieving non-string values - for string values just use T.

public object TObject(string resId,
	string resourceSet,
	string lang,
	bool autoAdd)

Return Value

The resource as an object.

Parameters

resId
The Resource Id to retrieve Note resource Ids can be any string and if no matching resource is found the id is returned.

resourceSet
Name of the ResourceSet that houses this resource. If null or empty resources are used.

lang
5 letter or 2 letter language ieetf code: en-US, de-DE or en, de etc.

autoAdd
If true if a resource cannot be found a new entry is added in the invariant locale


See also:

Class DbResInstance

© West Wind Technologies, 2006 - 2019 • Updated: 01/24/18
Comment or report problem with topic