The following example shows you how to get the content types defined on a SharePoint site.
Name* Email* Message*