Method SetValue SetValue(MonetaryValue) Sets the value this bag contains for the currency of the specified value. Declaration void SetValue(MonetaryValue value) Parameters Type Name Description MonetaryValue value