Membership shall be terminated in the manner and for the causes provided in the articles of incorporation or the bylaws. Termination of membership shall extinguish all rights of a member in the corporation or in its property, unless otherwise provided in the articles of incorporation or the bylaws.