Adds the attributes of the System.Web.UI.WebControls.Button control to the output stream for rendering on the client.
writer An System.Web.UI.HtmlTextWriter that contains the output stream to render on the client.