Function to translate a specified property of an object.

Namespace: DataTableEx
Assembly: DataTableEx (in DataTableEx.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public void TranslateProperty(
	Object ObjectToTranslate,
	string PropertyName = "Text"
)
Visual Basic
Public Sub TranslateProperty ( _
	ObjectToTranslate As Object, _
	Optional PropertyName As String = "Text" _
)
Visual C++
public:
void TranslateProperty(
	Object^ ObjectToTranslate, 
	String^ PropertyName = L"Text"
)

Parameters

ObjectToTranslate
Type: System..::..Object
Object who's property to translate.
PropertyName (Optional)
Type: System..::..String
Property to translate.

Remarks

This function will also add the object to the collection of objects translated so it can be translated back upon switching languages.

See Also