Hevea documentation

WebPage.Translate Method (WebComponent, String, String)

Gets a translation of a web object property.

public string Translate(
   WebComponent webObject,
   string propertyName,
   string defaultValue
);

Parameters

webObject
web object to globalize
propertyName
name of the object property to globalize
defaultValue
default property value

Return Value

the translation

Exceptions

Exception Type Condition
ArgumentNullException webObject, propertyName or defaultValue is null

See Also

WebPage Class | Hevea.Core.Http.Html.UI Namespace | WebPage.Translate Overload List