Neokernel API

Props.setDefault Method

If there is no value for the specified object, it is set to the value specified as default.

public virtual void setDefault(
   string key,
   object defaultValue
);

See Also

Props Class | com.neokernel.props Namespace