Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

How to Fetch the value of content Type

  Asked By: Joel Gray         Date: Aug 14, 2009      Category: Sharepoint      Views: 181
 

how can we fetch the value of content type using item adding event handler..
as I have 2 content types attached to
the list.

by using with AfterProperties property i could able to find the same..

Tagged:                

 

1 Answer Found

 
Answer #1       Answered By: Carlos Davis          Answered On: Aug 14, 2009       

The SPListItem class has a property  called ContentType.

 
Didn't find what you were looking for? Find more on How to Fetch the value of content Type Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].