Click or drag to resize

SPContextPutFile Method (String, String, String, String, String)

File_s the upload to library.

Namespace:  Koden.Utils.SharePoint
Assembly:  Koden.Utils.SharePoint (in Koden.Utils.SharePoint.dll) Version: 1.0.6453.26061
Syntax
public DefaultSPItemInfo PutFile(
	string libName,
	string folderName,
	string fileToUpload,
	string saveAsName,
	string strTitle
)

Parameters

libName
Type: SystemString

[Missing <param name="libName"/> documentation for "M:Koden.Utils.SharePoint.SPContext.PutFile(System.String,System.String,System.String,System.String,System.String)"]

folderName
Type: SystemString
Name of the folder. - empty/null if none
fileToUpload
Type: SystemString
The file to upload. path\filename.ext
saveAsName
Type: SystemString
Name of the save as. empty/null if same as uploaded name
strTitle
Type: SystemString
The title to give it in the site if applicable.

Return Value

Type: DefaultSPItemInfo

[Missing <returns> documentation for "M:Koden.Utils.SharePoint.SPContext.PutFile(System.String,System.String,System.String,System.String,System.String)"]

See Also