Here you go for the sample, SPWeb MyWeb = new SPSite ( "http://<Server>/sites/Team%20Site/default.aspx" ).OpenWeb(); SPContentType DocTypes = MyWeb.AvailableContentTypes[ "Document" ]; SPContentType MyType = new SPContentType (DocTypes, MyWeb.ContentTypes,