SharePoint Blog - René Hézser

Anmelden  RSS Feed RSS Feed
Startet die Suche

Archive

Kategorien

Links

Andere Blogs




ITaCS GmbH

Oct 172011
Oct 172011

SPUrlUtility.CombinePath

Here is another “watch out” for using the SharePoint object model.

SPUrlUtility.CombineUrl(web.Url, string.Empty)

The line above will throw an exception, as CombinUrl doesn’t like empty strings. Sad smile


Published: 10/17/2011  11:53 AM | 0  Comments | 0  Links to this post
Tagged as: Development, SharePoint