Click or drag to resize
ValidationHelperGetString Method (Object, String, CultureInfo)
Returns the string representation of an object or default value if not.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax
C#
public static string GetString(
	Object value,
	string defaultValue,
	CultureInfo culture = null
)

Parameters

value
Type: SystemObject
Value to convert
defaultValue
Type: SystemString
Default value
culture (Optional)
Type: System.GlobalizationCultureInfo
Culture

Return Value

Type: String
See Also