Click or drag to resize
ValidationHelperGetString Method (Object, String, String, String)
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,
	string culture,
	string format
)

Parameters

value
Type: SystemObject
Value to convert
defaultValue
Type: SystemString
Default value
culture
Type: SystemString
Culture
format
Type: SystemString
Formatting string

Return Value

Type: String
See Also