This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static void SCRAPcopySomeFilesWithVersions(SPListItem srcItem, SPList destList) | |
{ | |
SPFile oFileSrc = srcItem.File; | |
//Console.WriteLine(oFileSrc.Title.ToString()); | |
byte[] srcByteArray = null; | |
SPFile SPFileDestination = null; | |
SPFileCollection collFilesDest = destList.RootFolder.Files; | |
SPTimeZone timezone = destList.ParentWeb.RegionalSettings.TimeZone; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// assuming that sTitle = a string of the title | |
'<Where><Eq><FieldRef Name="Title" /><Value Type="Text">' + sTitle + '</Value></Eq></Where>'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// I2C Scanner | |
// Written by Nick Gammon | |
// Date: 20th April 2011 | |
#include <Wire.h> | |
void setup() { | |
Serial.begin (115200); | |
Serial.println (); |
NewerOlder