AdvantageAttributeControl..::..SafeContent Method
Safely casts an object to an AdvantageAdaptiveContent, returning defaults if the object is null.
Namespace:
AdvantageCMS.Core.Common.BaseClassesAssembly: AdvantageCMS.Core (in AdvantageCMS.Core.dll)
Syntax
protected AdvantageAdaptiveContent SafeContent( Object obj, AdvantageAdaptiveContent defaults )
Parameters
- obj
- Type: Object
The object to cast.
- defaults
- Type: AdvantageCMS.Core.Common.BaseClasses..::..AdvantageAdaptiveContent
The default content to return if obj is null.

