AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

AdvantageAttributeControl..::..SafeString Method

Safely converts an object to a string, returning an empty string if the object is null.

Namespace:  AdvantageCMS.Core.Common.BaseClasses
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


protected string SafeString(
	Object obj
)

Parameters

obj
Type: Object
The object to convert.

Return Value

The string representation of the object, or String if null.