Open this page in the API Guide

MessageBar.clear Method