true if the property reflected by the current instance has a Set accessor; otherwise, false .
If the property does not have a set accessor, it cannot be written to.
To get the CanWrite property, first get the class Type. From the Type, get the PropertyInfo. From the PropertyInfo, get the CanWrite value.