<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-3415161966902468034.post6874926050904696226..comments</id><updated>2008-04-16T19:03:01.886+02:00</updated><category term='Word Templates'/><category term='Visual Studio'/><category term='People Search'/><category term='MOSS 2007'/><category term='BPOS'/><category term='Accessibility'/><category term='Designer'/><category term='Infrastructure'/><category term='ECM'/><category term='SQL Server'/><category term='Site Definitions'/><category term='Mehrsprachigkeit'/><category term='Content Types'/><category term='SharePoint Online'/><category term='My Site'/><category term='Navigation'/><category term='Office 2003'/><category term='Variations'/><category term='Visual Studio 2010'/><category term='Performance Optimization'/><category term='Code'/><category term='Telephone Dictionary'/><category term='Records Management'/><category term='Windows Server 2008 R2'/><category term='Languages'/><category term='TechTalk'/><category term='TechEd 2008'/><category term='ISA'/><category term='Custom Activity'/><category term='Fix Variations'/><category term='Web Parts'/><category term='Faceted Search'/><category term='Approval Workflow'/><category term='Correlation Token'/><category term='Document Management'/><category term='Cloud'/><category term='Windows 7'/><category term='Office 365'/><category term='WCM'/><category term='jQuery'/><category term='XSL'/><category term='CSS'/><category term='Javascript'/><category term='Value'/><category term='SharePoint'/><category term='Migration'/><category term='Workflow'/><category term='SharePoint Conference'/><category term='SharePoint 2010'/><category term='Search'/><category term='Upgrade'/><category term='Features'/><category term='Change Management'/><category term='Swiss SharePoint Club'/><category term='MOSS Cleanup'/><category term='Installation'/><category term='InfoPath'/><category term='composites'/><title type='text'>Comments on isolutions SharePoint Blog: Get or set the content type of a list item program...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.sharepoint.ch/feeds/6874926050904696226/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3415161966902468034/6874926050904696226/comments/default'/><link rel='alternate' type='text/html' href='http://blog.sharepoint.ch/2007/12/get-or-set-content-type-of-list-item.html'/><author><name>David Schneider</name><uri>http://www.blogger.com/profile/03271591108340303444</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='19' src='http://www.isolutions.ch/portals/24/images/imgmitarbeiter/portrait_01_david.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3415161966902468034.post-1718399674192198554</id><published>2008-04-16T19:03:00.000+02:00</published><updated>2008-04-16T19:03:00.000+02:00</updated><title type='text'>Or you can use an SPContentTypeId object:&lt;br&gt;&lt;br&gt;S...</title><content type='html'>Or you can use an SPContentTypeId object:&lt;BR/&gt;&lt;BR/&gt;SPContentTypeId myCTID = new SPContentTypeId("guid of the target content type");&lt;BR/&gt;&lt;BR/&gt;myListItem["Content Type ID"] = myCTID;&lt;BR/&gt;&lt;BR/&gt;// or you could probably use the Id or Guid of the ListItem's content type field such as:&lt;BR/&gt;&lt;BR/&gt;Guid oG = new Guid("guid of the listitem's content type field");&lt;BR/&gt;&lt;BR/&gt;myListItem[oG] = myCTID;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3415161966902468034/6874926050904696226/comments/default/1718399674192198554'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3415161966902468034/6874926050904696226/comments/default/1718399674192198554'/><link rel='alternate' type='text/html' href='http://blog.sharepoint.ch/2007/12/get-or-set-content-type-of-list-item.html?showComment=1208365380000#c1718399674192198554' title=''/><author><name>pshisbey</name><uri>http://www.blogger.com/profile/08396086362326294689</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sharepoint.ch/2007/12/get-or-set-content-type-of-list-item.html' ref='tag:blogger.com,1999:blog-3415161966902468034.post-6874926050904696226' source='http://www.blogger.com/feeds/3415161966902468034/posts/default/6874926050904696226' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1653919211'/></entry></feed>
