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

