Daily Archive: April 17, 2017

0

Move existing SPListItem to new location

Almost every SharePoint developer knows popular SPFile.MoveTo method. But, in certain cases, you have only SPListItem, and you need to move it to new destination. One of the possible solutions is to make a fake SPFile from this...

C# Ref vs Out parameter 0

C# Ref vs Out parameter

In C# language you can pass parameters to function with Ref or Out keywords. Here is some simple example:   Ref parameter needs to be initialized before passing to function call two-way – “in”...