Blog Home  Home Feed your aggregator (RSS 2.0)  
Kiruthik .com - C
eCCentric Vagabond
 

Inheritable String Property

 

InheritableStringProperty  is a class available in Sharepoint 2007 Publishing Web. It extends from InheritableProperty<T> - but I think we need InheritableProperty in C#

using (SPSite site1 = new SPSite("http://home.kir:2306/"))
{
   PublishingWeb currentPublishingWeb = PublishingWeb.GetPublishingWeb(site.RootWeb);
   if (currentPublishingWeb != null)
   {
      InheritableStringProperty customMasterUrlProperty = currentPublishingWeb.CustomMasterUrl;
      customMasterUrlProperty.SetValue("/_catalogs/masterpage/new.master", true);   

   }
}

 

 

Monday, August 10, 2009 6:34:47 PM UTC  #    Comments [0]   .Net | C# | Sharepoint | Sharepoint - MOSS 2007 | Sharepoint 2010  | 
Scott Hanselman's Updated List for 2007 on   Friday, August 24, 2007

Scott Hanselman's 2007 Ultimate Developer and Power Users Tool List for Windows

Computer ZEN presents the updated list of tools. Many tools, from the List is what Im using, and also the list is only making me to learn those-which are mostly new to me!! Thanks to Scott.

  Link to Scott Hanselman's 2007 Ultimate Developer and Power Users Tool List for Windows

 

Friday, August 24, 2007 12:03:06 PM UTC  #    Comments [0]   .Net | ASP.Net | C# | Notable Blogs | software | Technology  | 
C# Threading on   Sunday, July 22, 2007

C# Threading

Found a great site/article for C# Threading. Its really good, and very simple and covers threading to make you an expert. 

[Link]

Sunday, July 22, 2007 12:24:38 AM UTC  #    Comments [0]   .Net | C#  | 
Copyright © 2012 Kiruthik Nandhakumar. All rights reserved.